Defined parsers do not allow undefined types. The output can be of type R or P.

Type Parameters

  • R extends Omit<any, "undefined"> = Omit<any, "undefined">

    The type of the raw data to parse.

  • P extends Omit<any, "undefined"> = Omit<any, "undefined">

    The type of the parsed data.

Hierarchy

Constructors

Methods

Constructors

  • Type Parameters

    • R extends Omit<any, "undefined"> = Omit<any, "undefined">

    • P extends Omit<any, "undefined"> = Omit<any, "undefined">

    Returns DefinedParser<R, P>

Methods

Generated using TypeDoc