• Parser that matches any token value, consumes and returns it.

    Only fails when there are no more tokens.

    Use token instead if you intend to immediately transform the value.

    Use satisfy if there is a test condition but no transformation.

    Type Parameters

    • TToken

    • TOptions

    Parameters

    • data: Data<TToken, TOptions>
    • i: number

    Returns Result<TToken>

Generated using TypeDoc