parseNever()
ts
function parseNever(data): ParseFailure
A parser that always fails. Parsing never
always fails because no value can be assigned to never
—never
corresponds to an empty set of values.
See
parseUnknown for a counterpart
Parameters
Parameter | Type | Description |
---|---|---|
data | unknown | data to be validated |