Function charFromString

  • charFromString converts a string to a character

    Parameters

    • str: string

      A string which contains a single Unicode codepoint

    Returns Char

    The corresponding Unicode codepoint

    Throws

    Error Thrown when the input string is not a single Unicode codepoint

Generated using TypeDoc