isTimestamp
The isTimestamp function is a type guard that identifies Timestamp values.
isTimestamp(thing: unknown): thing is Timestamp| Type | Description | |
|---|---|---|
thing | unknown | The value to test. |
| returns | thing is Timestamp | True if the value is a valid |
This function checks whether a value conforms to the Timestamp type, which is a string representing a Hybrid Logical Clock (HLC) timestamp. Use this for runtime validation of timestamp data before processing.
Since
v0.0.0