learn-content-engine - v0.34.0
    Preparing search index...

    Function isSlugId

    • Whether value is a slug id as the schema's $defs/SlugId defines it: lowercase Unicode letters and digits in hyphen-separated runs, 1 to SLUG_ID_MAX_LENGTH characters. Characters are code points, as the schema counts them: a letter outside the Basic Multilingual Plane is one character, although String.length counts it as two (engine#205). Anything that is not a string is not.

      Parameters

      • value: unknown

      Returns boolean