@std/unicode.ms#
Import each required symbol with import Name from "@std/unicode.ms".
is_alphabetic Function#
Tests the Unicode Alphabetic property, including alphabetic combining marks, not only letter categories.
fn is_alphabetic(scalar Int) Bool { ... }is_alphanumeric Function#
Tests Alphabetic or the Unicode numeric categories Nd, Nl and No.
fn is_alphanumeric(scalar Int) Bool { ... }is_ascii Function#
Tests whether the scalar is in the ASCII range U+0000 through U+007F, including controls.
fn is_ascii(scalar Int) Bool { ... }is_control Function#
Tests Unicode control characters (general category Cc), excluding format characters such as a zero-width joiner.
fn is_control(scalar Int) Bool { ... }is_digit Function#
Reports whether the scalar is a decimal digit 0 to 9.
fn is_digit(scalar Int) Bool { ... }is_lowercase Function#
Tests the Unicode Lowercase property, including Other_Lowercase characters.
fn is_lowercase(scalar Int) Bool { ... }is_mark Function#
Reports whether the scalar is a combining mark (general category M).
fn is_mark(scalar Int) Bool { ... }is_numeric Function#
Tests numeric categories Nd, Nl and No, including fractions; this is broader than decimal digits.
fn is_numeric(scalar Int) Bool { ... }is_punctuation Function#
Reports whether the scalar is punctuation (general category P).
fn is_punctuation(scalar Int) Bool { ... }is_symbol Function#
Reports whether the scalar is a symbol (general category S).
fn is_symbol(scalar Int) Bool { ... }is_uppercase Function#
Tests the Unicode Uppercase property, including Other_Uppercase characters.
fn is_uppercase(scalar Int) Bool { ... }is_whitespace Function#
Tests the Unicode White_Space property; excludes the byte-order mark and zero-width space.
fn is_whitespace(scalar Int) Bool { ... }