Function isLatin1

  • Return true for all characters below or equal U+00ff, which is ASCII + Latin-1 Supplement.

    Parameters

    • code: number

      The code point.

    Returns boolean

    1.0.0

    isLatin('a'); // true
    isLatin('💯'); // false