From T omit a set of properties K
Returns the type A
if T
is a Promise<A>
, or else returns never
Removes null/undefined types from T[P1]
Removes null/undefined types from T[P1][P2]
An io-ts Type tagged with T
Removes any extra tags from a type that extends a basic type.
Basic types: string, number, boolean
Creates an io-ts Type from an enum
True when the input is an object (and not array).
Returns a subset of the input objects fields.
an array of keys to preserve
the input object
Creates an io-ts Type from a ReadonlySet
Return a new type that validates successfully only when the instance (object) contains no unknown properties.
Returns the passed tagged basic value after converting it to its basic type.
Sets properties default values when calling t.validate() method on models see https://github.com/gcanti/io-ts/issues/8
Return an object filtering out keys that point to undefined values.
Generated using TypeDoc
Returns a new type that has only the F fields of type T.