Function includes

  • Takes a string. Succeeds if the given input contains that string. Consumes no input.

    Type Parameters

    • const S extends string

    Parameters

    • substr: S

      substring to find

    Returns Parser<S>

    • parser that succeeds if the given input contains that string

Generated using TypeDoc