Partilhar via


SP.ScriptUtility Methods

Applies to: SharePoint Foundation 2010

The following table lists the methods of the SP.ScriptUtility class.

Methods

Name

Description

isNullOrEmptyString

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

isNullOrUndefined

Gets a value that indicates whether the specified object is null or undefined.

isUndefined

Gets a value that indicates whether the specified object is undefined.

ScriptUtility

Initializes a new instance of the SP.ScriptUtility class.

truncateToInt

Gets the largest integer value that is less than or equal to the specified number if the number is greater than 0. Otherwise, gets the smallest integer value that is greater than or equal to the number.

Applies To

SP.ScriptUtility Class

See Also

Reference

SP.ScriptUtility Fields

SP Namespace