Options for BooleanParserBase

interface BooleanParserOptions {
    emptyStringResult?: null | boolean;
    trueValues: string[];
    falseValues: string[];
}

Hierarchy

Properties

emptyStringResult?: null | boolean

Value to return if the text was only an empty string (after trimming) Defaults to ''. Can be any string or null

trueValues: string[]

One or more strings that must match (case insensitive) to identify the value as true. Required

falseValues: string[]

One or more strings that must match (case insensitive) to identify the value as false. The empty string is a valid value for false, if you supply it. Required.

Generated using TypeDoc v0.25.12