Extracts the guarded type from an array of type guards.
Given an array of Guard functions, infers the union of all types they guard. Useful for deriving the result type of union validation with isUnion.
The array type containing type guards
isUnion for validating values against multiple guards
Extracts the guarded type from an array of type guards.
Given an array of Guard functions, infers the union of all types they guard. Useful for deriving the result type of union validation with isUnion.