SP.ScriptUtility.isNullOrEmptyString(str) Method

Applies to: SharePoint Foundation 2010

In this article
Return Value
Remarks
Applies To

Gets a value that indicates whether the specified text is null , an empty string, or undefined.

var value = SP.ScriptUtility.isNullOrEmptyString(str);

Parameters

str

Type: String

The text to test.

Return Value

Type: Boolean

true if the specified text is null , an empty string, or undefined; otherwise, false.

Remarks

This method gets a value that indicates whether the text specified by the str parameter is null , an empty string, or undefined.

Applies To

SP.ScriptUtility Class

See Also

Reference

SP.ScriptUtility Fields

SP.ScriptUtility Methods

SP Namespace