Function oneOf

  • Takes a string. Returns a parser that parses one of the characters in that string.

    Parameters

    • chars: string

      string of possible characters

    Returns Parser<string>

    • parser that parses one of the given characters

Generated using TypeDoc