Guid Namespace
The Guid namespace provides facilities for working with GUID strings using the "8-4-4-4-12" pattern.
The GuidString type alias is used to indicate function arguments, return types, and variables which are known to be in the GUID format.
Variable
| Name | Description |
|---|---|
| Guid.empty | Represents the empty Guid 00000000-0000-0000-0000-000000000000 |
Function
| Name | Description |
|---|---|
| Guid.createValue | Create a new V4 Guid value |
| Guid.isGuid | Determine whether the input string is "guid-like". |
| Guid.isV4Guid | Determine whether the input string is a valid V4 Guid string |
| Guid.normalize | Normalize a Guid string if possible. |
Defined in
- core/bentley/src/Id.ts Line 694
Last Updated: 30 November, 2023