There are lot of javascript snippets available to validate the guid string and that requires some number of codes. But SharePoint JSOM provides the single property to validate the GUID format, this will save our time and lines of code.

SP.Guid.isValid(<String>) Used to validate the provided string is guid format and it returns true or false based on the value.


SharePoint has lot of options hidden in their massive framework. In this post I am going to bring