Skip to content

Function: defineParser() ​

ts
function defineParser<T>(options): Parser<T>;

Defined in: parser/parsers.ts:72

Creates a parser. A string parse does not accept reads as the default, or as the missing value when there is no default.

Type Parameters ​

Type Parameter
T

Parameters ​

ParameterType
optionsParserOptions<T>

Returns ​

Parser<T>

Released under the MIT License.