Guid
This class provide an implementation of Guid used as id for flowbite-angular components.
See Also
Constructor
If value is given and if the value is a valid Guid, then return a Guid from the string ; Otherwise or if no value is given, create a Guid class without value. | ||||||
Presentation
| ||||||
Parameters
|
Static Accessors
static get empty |
---|
Function that generate an empty Guid. |
Presentation
|
Type
|
Static Methods
static isValid() | ||||||
---|---|---|---|---|---|---|
Check if the provided Guid is valid. | ||||||
Presentation
| ||||||
Parameters
Returnsboolean -true if the Guid is valid ; false otherwise. |
static newGuid() |
---|
Function that generate new Guid. |
Presentation
|
Returns |
Methods
toJSON() |
---|
ToJson base method. |
Presentation
|
Returnsstring -Value as Json compatible string. |
toString() |
---|
ToString base method. |
Presentation
|
Returnsstring -Value as string. |