SP.Guid.isValid(uuid) Method
Applies to: SharePoint Foundation 2010
In this article
Return Value
Remarks
Applies To
Determines whether the specified value is in the correct format for a valid GUID.
var value = SP.Guid.isValid(uuid);
Parameters
uuid
Type: string
The value to validate.
Return Value
Type: Boolean
true if the specified value is in the correct format for a valid GUID; otherwise, false.
Remarks
This method returns a value that validates whether the value specified by the uuid parameter is in the correct format for a valid GUID.