Uuid
Associated namespace: sm.uuid
A userdata object representing a UUID.
Operators
| Operator | Description |
|---|---|
| Uuid == Uuid | Checks if two UUIDs are equal. |
| tostring(Uuid) | Converts the UUID to a UUID string. |
Member Functions
isNil
local isNil = uuid:isNil()
Checks if the given UUID is a nil UUID (00000000-0000-0000-0000-000000000000).
Parameters:
uuid(Uuid): The UUID.
Returns:
isNil(boolean): Whether the UUID is nil or not.