Classes
Namespaces
Methods
(static) isUuid(s) → {boolean}
Checks if a string looks like a UUID4 string.
Parameters:
Name | Type | Description |
---|---|---|
s |
string | The string to check |
Returns:
Whether or not hte string looks like a UUID4 string.
- Type
- boolean
(static) uuid() → {string}
Generates a UUID4 string. Randomly...ish.
Returns:
A new UUID4 string. Should be somewhat unique.
- Type
- string