new CloverID()
A utility class to create Clover compatible identifiers, and guids.
- Source:
Members
(static) BASE_32_DIGITS :Array.<string>
The legal set of characters used to generate a clover id.
Type:
- Array.<string>
- Source:
Methods
(static) getNewId() → {string}
- Source:
Returns:
a clover compatible ID.
- Type
- string
(static) guid() → {string}
- Source:
Returns:
a guid - see https://en.wikipedia.org/wiki/Globally_unique_identifier
- Type
- string
(static) isValidBase32Id(id) → {boolean}
Parameters:
Name | Type | Description |
---|---|---|
id |
string | a string id to test |
- Source:
Returns:
true if the id is a clover compatible ID.
- Type
- boolean