UNPKG

@stacksjs/ts-validation

Version:

A simple TypeScript starter kit using Bun.

7 lines 263 B
/** * Check if the string is a valid ULID (Universally Unique Lexicographically Sortable Identifier). * * @param str - The string to check * @returns True if the string is a valid ULID, false otherwise */ export declare function isULID(str: string): boolean;