@illavv/run_typer - v4.1.0
    Preparing search index...

    Type Alias Coercions

    The coercing validators exposed by Typer#coerce.

    Each is an ordinary Validator, so it slots into a schema, nests in a combinator, and is passed around like any other.

    type Coercions = {
        boolean: Validator<boolean>;
        date: Validator<Date>;
        number: Validator<number>;
    }
    Index
    boolean: Validator<boolean>

    Converts to a boolean by reading the value: 'false' and '0' are false.

    date: Validator<Date>

    Converts to a valid Date from a Date, epoch milliseconds, or a date string.

    number: Validator<number>

    Converts to a number, rejecting '', null, arrays and unparseable strings.