Skip to main content

isValidUuidV7Base58()

function isValidUuidV7Base58(value: unknown): value is string;

Validate that a value matches the expected ID format (the decoded bytes have the v7 version nibble + RFC 4122/9562 variant bits). Does NOT validate the embedded timestamp — the backend may still reject a value that is too far in the future or past.

Parameters

ParameterType
valueunknown

Returns

value is string