variable / @typed/id

isUuid5

Tests whether a string is an RFC UUID version 5 value.

Package version
1.0.0-beta.13
Category
ID validation
Since
1.0.0

Import

import { isUuid5 } from "@typed/id";

Signatures

export declare const isUuid5: (value: string) => value is Uuid5;

Why

Runtime refinement restores trust after serialization has erased the TypeScript brand.

Ownership and lifetime

This pure predicate acquires no resources and retains no input.

Examples

import { isUuid5 } from "@typed/id/Uuid5"
isUuid5("21f7f8de-8051-5b89-8680-0195ef798b6a")

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source