The coercing validators exposed by Typer#coerce.
Typer#coerce
Each is an ordinary Validator, so it slots into a schema, nests in a combinator, and is passed around like any other.
Validator
Converts to a boolean by reading the value: 'false' and '0' are false.
'false'
'0'
false
Converts to a valid Date from a Date, epoch milliseconds, or a date string.
Date
Converts to a number, rejecting '', null, arrays and unparseable strings.
''
null
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.