Is GUID available in typescript?
I have manually create GUID by using JavaScript
code.
function guid() {
function s4() {
return Math.floor((1 + Math.random()) * 0x10000)
.toString(16)
.substring(1);
}
return s4() + s4() + '-' + s4() + '-' + s4() + '-' +
s4() + '-' + s4() + s4() + s4();
}
But am seeing typescript have
AAGUID
type. but I don't know what is the use of this type. Is it related with GUID or any data type's are available to create GUID in typescript?