Skip to main content

is_ulid

Function is_ulid 

Source
pub fn is_ulid(s: &str) -> bool
Expand description

Canonical 26-char Crockford ULID.

The ulid crate handles length + alphabet; protovalidate additionally rejects values above 7ZZ…ZZ (the first Crockford base32 character cannot exceed ‘7’ since a ULID is at most 2^128 − 1).