types (object)
The types namespace object contains various functions which can be used to
identify the type of a value at runtime. It is based on
pheno, with some yavascript-specific
extensions.
Usage
To check that a value is of a type, use is. To assert that a value is of a
type, use assert.type:
In many cases, you can use a "normal" JavaScript value for the type instead
of something from the types namespace. For instance, the following code
block is equivalent to the previous one:
For more info about using "normal" values, see the "Coercion" heading below.
Explanation
There are two kinds of function properties found on the types namespace:
those which return a boolean, and those which return a function. Functions
which return a boolean are called "type validators", and can be used to check
the type of a value. For example, types.number is a type validator:
The other kind of function is a function which returns a function. These are
called "type validator constructors", because the function they return is a
type validator. They are used to construct complex type validators. For
example, types.exactString is a type validator constructor:
// myType is a function which returns true or false
is("eggplant", myType); // returns false
is("potato", myType); // returns true
List of Functions
Type Validators
Here is a list of all the type validators:
anyanyArrayanyFunctionanyMapanyObjectanySetanyTypeValidatorarray(alias ofarrayOfUnknown)arrayOfAnyarrayOfUnknownArray(alias ofarrayOfUnknown)bigintBigInt(alias ofbigint)booleanBoolean(alias ofboolean)DateErrorfalsefalsyFunction(alias ofunknownFunction)Infinityintegermap(alias ofunknownMap)Map(alias ofunknownMap)NaNNegativeInfinitynevernonNullOrUndefinednullnullishvoid(alias ofnullish)number(doesn't include NaN, Infinity, or -Infinity)Number(alias ofnumber)numberIncludingNanAndInfinitiesobject(alias ofunknownObject)Object(alias ofunknownObject)objectOrNullRegExpset(alias ofunknownSet)Set(alias ofunknownSet)stringString(alias ofstring)Symbolsymbol(alias ofSymbol)truetruthyundefinedunknownunknownFunctionunknownMapunknownObjectunknownSetunknownTypeValidatorArrayBufferSharedArrayBufferDataViewTypedArrayInt8ArrayUint8ArrayUint8ClampedArrayInt16ArrayUint16ArrayInt32ArrayUint32ArrayFloat32ArrayFloat64ArrayFILEPathJSX.Element(alias ofJSX.unknownElement)JSX.unknownElementJSX.anyElementJSX.Fragment
Type Validator Constructors
And all the type validator constructors:
andarrayOfexactBigIntexactNumberexactStringexactSymbolhasClassNamehasToStringTaginstanceOfintersectionmapOfmappingObjectOfmaybeobjectWithOnlyThesePropertiesobjectWithPropertiesoroptionalpartialObjectWithPropertiesrecordsetOfstringMatchingsymbolForunion
Coercion
There is also a function, types.coerce, which returns an appropriate type
validator value for a given input value, using the following logic:
| Input value | Output validator |
|---|---|
String or string global | types.string |
Number or number global | types.number |
Boolean or boolean global | types.boolean |
BigInt or bigint global | types.bigint |
Symbol global | types.Symbol |
RegExp global | types.RegExp |
Array global | types.arrayOfUnknown |
Set global | types.unknownSet |
Map global | types.unknownMap |
Object global | types.unknownObject |
Date global | types.Date |
Function global | types.unknownFunction |
ArrayBuffer global | types.ArrayBuffer |
SharedArrayBuffer global | types.SharedArrayBuffer |
DataView global | types.DataView |
Int8Array global | types.Int8Array |
Uint8Array global | types.Uint8Array |
Uint8ClampedArray global | types.Uint8ClampedArray |
Int16Array global | types.Int16Array |
Uint16Array global | types.Uint16Array |
Int32Array global | types.Int32Array |
Uint32Array global | types.Uint32Array |
Float32Array global | types.Float32Array |
Float64Array global | types.Float64Array |
Path global | types.Path |
| Any RegExp value | Validator for matching strings |
| Empty array | Validator for empty arrays |
| Array with one item | Validator for array of that item |
| Array with multiple items | Validator for tuple of those types |
| Class constructor function | Validator for instances of it |
| Any Object value | Validator for same-shaped object |
| null | types.null |
| undefined | types.undefined |
| true | types.true |
| false | types.false |
| NaN | types.NaN |
| Infinity | types.Infinity |
-Infinity | types.NegativeInfinity |
| Any string value | types.exactString(<the value>) |
| Any 'normal' number value | types.exactNumber(<the value>) |
| Any Symbol value | types.exactSymbol(<the value>) |
| Any BigInt value | types.exactBigInt(<the value>) |
All type constructors, as well as
isandassert.type, do coercion automatically! This means that in many cases, you do not need to access properties from thetypesnamespace.
[key: string | number | symbol]: any;
}>;
>;
name: Name,
constructor: Function & {
name: Name;
};
}>;
Klass extends Function & {
prototype: any;
},
>(
klass: Klass,
typeValidator: T,
<
>(
first: First,
second: Second,
>;
<
>(
first: First,
second: Second,
third: Third,
>;
<
>(
first: First,
second: Second,
third: Third,
fourth: Fourth,
>;
<
>(
first: First,
second: Second,
third: Third,
fourth: Fourth,
fifth: Fifth,
>;
<
>(
first: First,
second: Second,
third: Third,
fourth: Fourth,
fifth: Fifth,
sixth: Sixth,
>;
<
>(
first: First,
second: Second,
third: Third,
fourth: Fourth,
fifth: Fifth,
sixth: Sixth,
seventh: Seventh,
>;
<
>(
first: First,
second: Second,
third: Third,
fourth: Fourth,
fifth: Fifth,
sixth: Sixth,
seventh: Seventh,
eighth: Eighth,
>;
<
>(
first: First,
second: Second,
third: Third,
fourth: Fourth,
fifth: Fifth,
sixth: Sixth,
seventh: Seventh,
eighth: Eighth,
ninth: Ninth,
>;
<
>(
first: First,
second: Second,
third: Third,
fourth: Fourth,
fifth: Fifth,
sixth: Sixth,
seventh: Seventh,
eighth: Eighth,
ninth: Ninth,
tenth: Tenth,
>;
};
<
>(
first: First,
second: Second,
>;
<
>(
first: First,
second: Second,
third: Third,
>;
<
>(
first: First,
second: Second,
third: Third,
fourth: Fourth,
>;
<
>(
first: First,
second: Second,
third: Third,
fourth: Fourth,
fifth: Fifth,
>;
<
>(
first: First,
second: Second,
third: Third,
fourth: Fourth,
fifth: Fifth,
sixth: Sixth,
>;
<
>(
first: First,
second: Second,
third: Third,
fourth: Fourth,
fifth: Fifth,
sixth: Sixth,
seventh: Seventh,
>;
<
>(
first: First,
second: Second,
third: Third,
fourth: Fourth,
fifth: Fifth,
sixth: Sixth,
seventh: Seventh,
eighth: Eighth,
>;
<
>(
first: First,
second: Second,
third: Third,
fourth: Fourth,
fifth: Fifth,
sixth: Sixth,
seventh: Seventh,
eighth: Eighth,
ninth: Ninth,
>;
<
>(
first: First,
second: Second,
third: Third,
fourth: Fourth,
fifth: Fifth,
sixth: Sixth,
seventh: Seventh,
eighth: Eighth,
ninth: Ninth,
tenth: Tenth,
>;
};
<
>(
first: First,
second: Second,
>;
<
>(
first: First,
second: Second,
third: Third,
>;
<
>(
first: First,
second: Second,
third: Third,
fourth: Fourth,
>;
<
>(
first: First,
second: Second,
third: Third,
fourth: Fourth,
fifth: Fifth,
>;
<
>(
first: First,
second: Second,
third: Third,
fourth: Fourth,
fifth: Fifth,
sixth: Sixth,
>;
<
>(
first: First,
second: Second,
third: Third,
fourth: Fourth,
fifth: Fifth,
sixth: Sixth,
seventh: Seventh,
>;
<
>(
first: First,
second: Second,
third: Third,
fourth: Fourth,
fifth: Fifth,
sixth: Sixth,
seventh: Seventh,
eighth: Eighth,
>;
<
>(
first: First,
second: Second,
third: Third,
fourth: Fourth,
fifth: Fifth,
sixth: Sixth,
seventh: Seventh,
eighth: Eighth,
ninth: Ninth,
>;
<
>(
first: First,
second: Second,
third: Third,
fourth: Fourth,
fifth: Fifth,
sixth: Sixth,
seventh: Seventh,
eighth: Eighth,
ninth: Ninth,
tenth: Tenth,
>;
};
<
>(
first: First,
second: Second,
>;
<
>(
first: First,
second: Second,
third: Third,
>;
<
>(
first: First,
second: Second,
third: Third,
fourth: Fourth,
>;
<
>(
first: First,
second: Second,
third: Third,
fourth: Fourth,
fifth: Fifth,
>;
<
>(
first: First,
second: Second,
third: Third,
fourth: Fourth,
fifth: Fifth,
sixth: Sixth,
>;
<
>(
first: First,
second: Second,
third: Third,
fourth: Fourth,
fifth: Fifth,
sixth: Sixth,
seventh: Seventh,
>;
<
>(
first: First,
second: Second,
third: Third,
fourth: Fourth,
fifth: Fifth,
sixth: Sixth,
seventh: Seventh,
eighth: Eighth,
>;
<
>(
first: First,
second: Second,
third: Third,
fourth: Fourth,
fifth: Fifth,
sixth: Sixth,
seventh: Seventh,
eighth: Eighth,
ninth: Ninth,
>;
<
>(
first: First,
second: Second,
third: Third,
fourth: Fourth,
fifth: Fifth,
sixth: Sixth,
seventh: Seventh,
eighth: Eighth,
ninth: Ninth,
tenth: Tenth,
>;
};
>(
keyType: K,
valueType: V,
>
>;
itemType: T,
itemType: T,
T extends {
[key: string | number | symbol]:
},
>(
properties: T,
}>;
T extends {
[key: string | number | symbol]:
},
>(
properties: T,
}>;
>(
keyType: Keys,
valueType: Values,
Record<
: never,
>
>;
>(
keyType: Keys,
valueType: Values,
Record<
: never,
>
>;
T extends {
[key: string | number | symbol]:
},
>(
properties: T,
[key in keyof T]:
}>;
<
>(
first: First,
second: Second,
[
]
>;
<
>(
first: First,
second: Second,
third: Third,
[
]
>;
<
>(
first: First,
second: Second,
third: Third,
fourth: Fourth,
[
]
>;
<
>(
first: First,
second: Second,
third: Third,
fourth: Fourth,
fifth: Fifth,
[
]
>;
<
>(
first: First,
second: Second,
third: Third,
fourth: Fourth,
fifth: Fifth,
sixth: Sixth,
[
]
>;
<
>(
first: First,
second: Second,
third: Third,
fourth: Fourth,
fifth: Fifth,
sixth: Sixth,
seventh: Seventh,
[
]
>;
<
>(
first: First,
second: Second,
third: Third,
fourth: Fourth,
fifth: Fifth,
sixth: Sixth,
seventh: Seventh,
eighth: Eighth,
[
]
>;
<
>(
first: First,
second: Second,
third: Third,
fourth: Fourth,
fifth: Fifth,
sixth: Sixth,
seventh: Seventh,
eighth: Eighth,
ninth: Ninth,
[
]
>;
<
>(
first: First,
second: Second,
third: Third,
fourth: Fourth,
fifth: Fifth,
sixth: Sixth,
seventh: Seventh,
eighth: Eighth,
ninth: Ninth,
tenth: Tenth,
[
]
>;
};
value: V,
{
[key: string | symbol | number]: unknown;
},
unknown
>
>;
{
[key: string | symbol | number]: unknown;
},
unknown
>
>;
};
};
types.any (property)
types.unknown (property)
types.anyObject (property)
[key: string | number | symbol]: any;
}>;
types.unknownObject (property)
types.object (property)
types.Object (property)
types.arrayOfAny (property)
types.arrayOfUnknown (property)
types.array (property)
types.Array (property)
types.anyArray (property)
types.boolean (property)
types.Boolean (property)
types.string (property)
types.String (property)
types.null (property)
types.undefined (property)
types.nullish (property)
types.void (property)
types.numberIncludingNanAndInfinities (property)
types.number (property)
types.Number (property)
types.NaN (property)
types.Infinity (property)
types.NegativeInfinity (property)
types.integer (property)
types.bigint (property)
types.BigInt (property)
types.never (property)
types.anyFunction (property)
types.unknownFunction (property)
types.Function (property)
types.false (property)
types.true (property)
types.falsy (property)
types.truthy (function property)
types.nonNullOrUndefined (function property)
types.Error (property)
types.Symbol (property)
types.symbol (property)
types.RegExp (property)
types.Date (property)
types.anyMap (property)
types.unknownMap (property)
types.map (property)
types.Map (property)
types.anySet (property)
types.unknownSet (property)
types.set (property)
types.Set (property)
types.ArrayBuffer (property)
types.SharedArrayBuffer (property)
types.DataView (property)
types.TypedArray (property)
>;
types.Int8Array (property)
types.Uint8Array (property)
types.Uint8ClampedArray (property)
types.Int16Array (property)
types.Uint16Array (property)
types.Int32Array (property)
types.Uint32Array (property)
types.Float32Array (property)
types.Float64Array (property)
types.exactString (method)
types.exactNumber (method)
types.exactBigInt (method)
types.exactSymbol (method)
types.hasClassName (method)
constructor: Function & {
name: Name;
};
}>;
types.hasToStringTag (method)
types.instanceOf (method)
prototype: any;
types.stringMatching (method)
types.symbolFor (method)
types.arrayOf (method)
arrayOf<T extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(typeValidator: T): TypeValidator<Array<UnwrapTypeFromCoerceableOrValidator<T>>>;
types.intersection (function property)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> & UnwrapTypeFromCoerceableOrValidator<Second>>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> & UnwrapTypeFromCoerceableOrValidator<Second> & UnwrapTypeFromCoerceableOrValidator<Third>>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> & UnwrapTypeFromCoerceableOrValidator<Second> & UnwrapTypeFromCoerceableOrValidator<Third> & UnwrapTypeFromCoerceableOrValidator<Fourth>>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> & UnwrapTypeFromCoerceableOrValidator<Second> & UnwrapTypeFromCoerceableOrValidator<Third> & UnwrapTypeFromCoerceableOrValidator<Fourth> & UnwrapTypeFromCoerceableOrValidator<Fifth>>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> & UnwrapTypeFromCoerceableOrValidator<Second> & UnwrapTypeFromCoerceableOrValidator<Third> & UnwrapTypeFromCoerceableOrValidator<Fourth> & UnwrapTypeFromCoerceableOrValidator<Fifth> & UnwrapTypeFromCoerceableOrValidator<Sixth>>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> & UnwrapTypeFromCoerceableOrValidator<Second> & UnwrapTypeFromCoerceableOrValidator<Third> & UnwrapTypeFromCoerceableOrValidator<Fourth> & UnwrapTypeFromCoerceableOrValidator<Fifth> & UnwrapTypeFromCoerceableOrValidator<Sixth> & UnwrapTypeFromCoerceableOrValidator<Seventh>>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Eighth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh, eighth: Eighth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> & UnwrapTypeFromCoerceableOrValidator<Second> & UnwrapTypeFromCoerceableOrValidator<Third> & UnwrapTypeFromCoerceableOrValidator<Fourth> & UnwrapTypeFromCoerceableOrValidator<Fifth> & UnwrapTypeFromCoerceableOrValidator<Sixth> & UnwrapTypeFromCoerceableOrValidator<Seventh> & UnwrapTypeFromCoerceableOrValidator<Eighth>>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Eighth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Ninth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh, eighth: Eighth, ninth: Ninth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> & UnwrapTypeFromCoerceableOrValidator<Second> & UnwrapTypeFromCoerceableOrValidator<Third> & UnwrapTypeFromCoerceableOrValidator<Fourth> & UnwrapTypeFromCoerceableOrValidator<Fifth> & UnwrapTypeFromCoerceableOrValidator<Sixth> & UnwrapTypeFromCoerceableOrValidator<Seventh> & UnwrapTypeFromCoerceableOrValidator<Eighth> & UnwrapTypeFromCoerceableOrValidator<Ninth>>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Eighth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Ninth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Tenth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh, eighth: Eighth, ninth: Ninth, tenth: Tenth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> & UnwrapTypeFromCoerceableOrValidator<Second> & UnwrapTypeFromCoerceableOrValidator<Third> & UnwrapTypeFromCoerceableOrValidator<Fourth> & UnwrapTypeFromCoerceableOrValidator<Fifth> & UnwrapTypeFromCoerceableOrValidator<Sixth> & UnwrapTypeFromCoerceableOrValidator<Seventh> & UnwrapTypeFromCoerceableOrValidator<Eighth> & UnwrapTypeFromCoerceableOrValidator<Ninth> & UnwrapTypeFromCoerceableOrValidator<Tenth>>;
};
types.intersection(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> & UnwrapTypeFromCoerceableOrValidator<Second>>;
types.intersection(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> & UnwrapTypeFromCoerceableOrValidator<Second> & UnwrapTypeFromCoerceableOrValidator<Third>>;
types.intersection(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> & UnwrapTypeFromCoerceableOrValidator<Second> & UnwrapTypeFromCoerceableOrValidator<Third> & UnwrapTypeFromCoerceableOrValidator<Fourth>>;
types.intersection(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> & UnwrapTypeFromCoerceableOrValidator<Second> & UnwrapTypeFromCoerceableOrValidator<Third> & UnwrapTypeFromCoerceableOrValidator<Fourth> & UnwrapTypeFromCoerceableOrValidator<Fifth>>;
types.intersection(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> & UnwrapTypeFromCoerceableOrValidator<Second> & UnwrapTypeFromCoerceableOrValidator<Third> & UnwrapTypeFromCoerceableOrValidator<Fourth> & UnwrapTypeFromCoerceableOrValidator<Fifth> & UnwrapTypeFromCoerceableOrValidator<Sixth>>;
types.intersection(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> & UnwrapTypeFromCoerceableOrValidator<Second> & UnwrapTypeFromCoerceableOrValidator<Third> & UnwrapTypeFromCoerceableOrValidator<Fourth> & UnwrapTypeFromCoerceableOrValidator<Fifth> & UnwrapTypeFromCoerceableOrValidator<Sixth> & UnwrapTypeFromCoerceableOrValidator<Seventh>>;
types.intersection(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Eighth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh, eighth: Eighth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> & UnwrapTypeFromCoerceableOrValidator<Second> & UnwrapTypeFromCoerceableOrValidator<Third> & UnwrapTypeFromCoerceableOrValidator<Fourth> & UnwrapTypeFromCoerceableOrValidator<Fifth> & UnwrapTypeFromCoerceableOrValidator<Sixth> & UnwrapTypeFromCoerceableOrValidator<Seventh> & UnwrapTypeFromCoerceableOrValidator<Eighth>>;
types.intersection(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Eighth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Ninth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh, eighth: Eighth, ninth: Ninth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> & UnwrapTypeFromCoerceableOrValidator<Second> & UnwrapTypeFromCoerceableOrValidator<Third> & UnwrapTypeFromCoerceableOrValidator<Fourth> & UnwrapTypeFromCoerceableOrValidator<Fifth> & UnwrapTypeFromCoerceableOrValidator<Sixth> & UnwrapTypeFromCoerceableOrValidator<Seventh> & UnwrapTypeFromCoerceableOrValidator<Eighth> & UnwrapTypeFromCoerceableOrValidator<Ninth>>;
types.intersection(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Eighth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Ninth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Tenth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh, eighth: Eighth, ninth: Ninth, tenth: Tenth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> & UnwrapTypeFromCoerceableOrValidator<Second> & UnwrapTypeFromCoerceableOrValidator<Third> & UnwrapTypeFromCoerceableOrValidator<Fourth> & UnwrapTypeFromCoerceableOrValidator<Fifth> & UnwrapTypeFromCoerceableOrValidator<Sixth> & UnwrapTypeFromCoerceableOrValidator<Seventh> & UnwrapTypeFromCoerceableOrValidator<Eighth> & UnwrapTypeFromCoerceableOrValidator<Ninth> & UnwrapTypeFromCoerceableOrValidator<Tenth>>;
types.and (function property)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> & UnwrapTypeFromCoerceableOrValidator<Second>>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> & UnwrapTypeFromCoerceableOrValidator<Second> & UnwrapTypeFromCoerceableOrValidator<Third>>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> & UnwrapTypeFromCoerceableOrValidator<Second> & UnwrapTypeFromCoerceableOrValidator<Third> & UnwrapTypeFromCoerceableOrValidator<Fourth>>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> & UnwrapTypeFromCoerceableOrValidator<Second> & UnwrapTypeFromCoerceableOrValidator<Third> & UnwrapTypeFromCoerceableOrValidator<Fourth> & UnwrapTypeFromCoerceableOrValidator<Fifth>>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> & UnwrapTypeFromCoerceableOrValidator<Second> & UnwrapTypeFromCoerceableOrValidator<Third> & UnwrapTypeFromCoerceableOrValidator<Fourth> & UnwrapTypeFromCoerceableOrValidator<Fifth> & UnwrapTypeFromCoerceableOrValidator<Sixth>>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> & UnwrapTypeFromCoerceableOrValidator<Second> & UnwrapTypeFromCoerceableOrValidator<Third> & UnwrapTypeFromCoerceableOrValidator<Fourth> & UnwrapTypeFromCoerceableOrValidator<Fifth> & UnwrapTypeFromCoerceableOrValidator<Sixth> & UnwrapTypeFromCoerceableOrValidator<Seventh>>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Eighth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh, eighth: Eighth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> & UnwrapTypeFromCoerceableOrValidator<Second> & UnwrapTypeFromCoerceableOrValidator<Third> & UnwrapTypeFromCoerceableOrValidator<Fourth> & UnwrapTypeFromCoerceableOrValidator<Fifth> & UnwrapTypeFromCoerceableOrValidator<Sixth> & UnwrapTypeFromCoerceableOrValidator<Seventh> & UnwrapTypeFromCoerceableOrValidator<Eighth>>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Eighth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Ninth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh, eighth: Eighth, ninth: Ninth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> & UnwrapTypeFromCoerceableOrValidator<Second> & UnwrapTypeFromCoerceableOrValidator<Third> & UnwrapTypeFromCoerceableOrValidator<Fourth> & UnwrapTypeFromCoerceableOrValidator<Fifth> & UnwrapTypeFromCoerceableOrValidator<Sixth> & UnwrapTypeFromCoerceableOrValidator<Seventh> & UnwrapTypeFromCoerceableOrValidator<Eighth> & UnwrapTypeFromCoerceableOrValidator<Ninth>>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Eighth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Ninth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Tenth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh, eighth: Eighth, ninth: Ninth, tenth: Tenth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> & UnwrapTypeFromCoerceableOrValidator<Second> & UnwrapTypeFromCoerceableOrValidator<Third> & UnwrapTypeFromCoerceableOrValidator<Fourth> & UnwrapTypeFromCoerceableOrValidator<Fifth> & UnwrapTypeFromCoerceableOrValidator<Sixth> & UnwrapTypeFromCoerceableOrValidator<Seventh> & UnwrapTypeFromCoerceableOrValidator<Eighth> & UnwrapTypeFromCoerceableOrValidator<Ninth> & UnwrapTypeFromCoerceableOrValidator<Tenth>>;
};
types.and(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> & UnwrapTypeFromCoerceableOrValidator<Second>>;
types.and(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> & UnwrapTypeFromCoerceableOrValidator<Second> & UnwrapTypeFromCoerceableOrValidator<Third>>;
types.and(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> & UnwrapTypeFromCoerceableOrValidator<Second> & UnwrapTypeFromCoerceableOrValidator<Third> & UnwrapTypeFromCoerceableOrValidator<Fourth>>;
types.and(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> & UnwrapTypeFromCoerceableOrValidator<Second> & UnwrapTypeFromCoerceableOrValidator<Third> & UnwrapTypeFromCoerceableOrValidator<Fourth> & UnwrapTypeFromCoerceableOrValidator<Fifth>>;
types.and(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> & UnwrapTypeFromCoerceableOrValidator<Second> & UnwrapTypeFromCoerceableOrValidator<Third> & UnwrapTypeFromCoerceableOrValidator<Fourth> & UnwrapTypeFromCoerceableOrValidator<Fifth> & UnwrapTypeFromCoerceableOrValidator<Sixth>>;
types.and(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> & UnwrapTypeFromCoerceableOrValidator<Second> & UnwrapTypeFromCoerceableOrValidator<Third> & UnwrapTypeFromCoerceableOrValidator<Fourth> & UnwrapTypeFromCoerceableOrValidator<Fifth> & UnwrapTypeFromCoerceableOrValidator<Sixth> & UnwrapTypeFromCoerceableOrValidator<Seventh>>;
types.and(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Eighth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh, eighth: Eighth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> & UnwrapTypeFromCoerceableOrValidator<Second> & UnwrapTypeFromCoerceableOrValidator<Third> & UnwrapTypeFromCoerceableOrValidator<Fourth> & UnwrapTypeFromCoerceableOrValidator<Fifth> & UnwrapTypeFromCoerceableOrValidator<Sixth> & UnwrapTypeFromCoerceableOrValidator<Seventh> & UnwrapTypeFromCoerceableOrValidator<Eighth>>;
types.and(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Eighth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Ninth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh, eighth: Eighth, ninth: Ninth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> & UnwrapTypeFromCoerceableOrValidator<Second> & UnwrapTypeFromCoerceableOrValidator<Third> & UnwrapTypeFromCoerceableOrValidator<Fourth> & UnwrapTypeFromCoerceableOrValidator<Fifth> & UnwrapTypeFromCoerceableOrValidator<Sixth> & UnwrapTypeFromCoerceableOrValidator<Seventh> & UnwrapTypeFromCoerceableOrValidator<Eighth> & UnwrapTypeFromCoerceableOrValidator<Ninth>>;
types.and(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Eighth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Ninth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Tenth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh, eighth: Eighth, ninth: Ninth, tenth: Tenth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> & UnwrapTypeFromCoerceableOrValidator<Second> & UnwrapTypeFromCoerceableOrValidator<Third> & UnwrapTypeFromCoerceableOrValidator<Fourth> & UnwrapTypeFromCoerceableOrValidator<Fifth> & UnwrapTypeFromCoerceableOrValidator<Sixth> & UnwrapTypeFromCoerceableOrValidator<Seventh> & UnwrapTypeFromCoerceableOrValidator<Eighth> & UnwrapTypeFromCoerceableOrValidator<Ninth> & UnwrapTypeFromCoerceableOrValidator<Tenth>>;
types.union (function property)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> | UnwrapTypeFromCoerceableOrValidator<Second>>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> | UnwrapTypeFromCoerceableOrValidator<Second> | UnwrapTypeFromCoerceableOrValidator<Third>>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> | UnwrapTypeFromCoerceableOrValidator<Second> | UnwrapTypeFromCoerceableOrValidator<Third> | UnwrapTypeFromCoerceableOrValidator<Fourth>>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> | UnwrapTypeFromCoerceableOrValidator<Second> | UnwrapTypeFromCoerceableOrValidator<Third> | UnwrapTypeFromCoerceableOrValidator<Fourth> | UnwrapTypeFromCoerceableOrValidator<Fifth>>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> | UnwrapTypeFromCoerceableOrValidator<Second> | UnwrapTypeFromCoerceableOrValidator<Third> | UnwrapTypeFromCoerceableOrValidator<Fourth> | UnwrapTypeFromCoerceableOrValidator<Fifth> | UnwrapTypeFromCoerceableOrValidator<Sixth>>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> | UnwrapTypeFromCoerceableOrValidator<Second> | UnwrapTypeFromCoerceableOrValidator<Third> | UnwrapTypeFromCoerceableOrValidator<Fourth> | UnwrapTypeFromCoerceableOrValidator<Fifth> | UnwrapTypeFromCoerceableOrValidator<Sixth> | UnwrapTypeFromCoerceableOrValidator<Seventh>>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Eighth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh, eighth: Eighth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> | UnwrapTypeFromCoerceableOrValidator<Second> | UnwrapTypeFromCoerceableOrValidator<Third> | UnwrapTypeFromCoerceableOrValidator<Fourth> | UnwrapTypeFromCoerceableOrValidator<Fifth> | UnwrapTypeFromCoerceableOrValidator<Sixth> | UnwrapTypeFromCoerceableOrValidator<Seventh> | UnwrapTypeFromCoerceableOrValidator<Eighth>>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Eighth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Ninth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh, eighth: Eighth, ninth: Ninth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> | UnwrapTypeFromCoerceableOrValidator<Second> | UnwrapTypeFromCoerceableOrValidator<Third> | UnwrapTypeFromCoerceableOrValidator<Fourth> | UnwrapTypeFromCoerceableOrValidator<Fifth> | UnwrapTypeFromCoerceableOrValidator<Sixth> | UnwrapTypeFromCoerceableOrValidator<Seventh> | UnwrapTypeFromCoerceableOrValidator<Eighth> | UnwrapTypeFromCoerceableOrValidator<Ninth>>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Eighth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Ninth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Tenth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh, eighth: Eighth, ninth: Ninth, tenth: Tenth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> | UnwrapTypeFromCoerceableOrValidator<Second> | UnwrapTypeFromCoerceableOrValidator<Third> | UnwrapTypeFromCoerceableOrValidator<Fourth> | UnwrapTypeFromCoerceableOrValidator<Fifth> | UnwrapTypeFromCoerceableOrValidator<Sixth> | UnwrapTypeFromCoerceableOrValidator<Seventh> | UnwrapTypeFromCoerceableOrValidator<Eighth> | UnwrapTypeFromCoerceableOrValidator<Ninth> | UnwrapTypeFromCoerceableOrValidator<Tenth>>;
};
types.union(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> | UnwrapTypeFromCoerceableOrValidator<Second>>;
types.union(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> | UnwrapTypeFromCoerceableOrValidator<Second> | UnwrapTypeFromCoerceableOrValidator<Third>>;
types.union(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> | UnwrapTypeFromCoerceableOrValidator<Second> | UnwrapTypeFromCoerceableOrValidator<Third> | UnwrapTypeFromCoerceableOrValidator<Fourth>>;
types.union(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> | UnwrapTypeFromCoerceableOrValidator<Second> | UnwrapTypeFromCoerceableOrValidator<Third> | UnwrapTypeFromCoerceableOrValidator<Fourth> | UnwrapTypeFromCoerceableOrValidator<Fifth>>;
types.union(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> | UnwrapTypeFromCoerceableOrValidator<Second> | UnwrapTypeFromCoerceableOrValidator<Third> | UnwrapTypeFromCoerceableOrValidator<Fourth> | UnwrapTypeFromCoerceableOrValidator<Fifth> | UnwrapTypeFromCoerceableOrValidator<Sixth>>;
types.union(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> | UnwrapTypeFromCoerceableOrValidator<Second> | UnwrapTypeFromCoerceableOrValidator<Third> | UnwrapTypeFromCoerceableOrValidator<Fourth> | UnwrapTypeFromCoerceableOrValidator<Fifth> | UnwrapTypeFromCoerceableOrValidator<Sixth> | UnwrapTypeFromCoerceableOrValidator<Seventh>>;
types.union(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Eighth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh, eighth: Eighth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> | UnwrapTypeFromCoerceableOrValidator<Second> | UnwrapTypeFromCoerceableOrValidator<Third> | UnwrapTypeFromCoerceableOrValidator<Fourth> | UnwrapTypeFromCoerceableOrValidator<Fifth> | UnwrapTypeFromCoerceableOrValidator<Sixth> | UnwrapTypeFromCoerceableOrValidator<Seventh> | UnwrapTypeFromCoerceableOrValidator<Eighth>>;
types.union(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Eighth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Ninth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh, eighth: Eighth, ninth: Ninth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> | UnwrapTypeFromCoerceableOrValidator<Second> | UnwrapTypeFromCoerceableOrValidator<Third> | UnwrapTypeFromCoerceableOrValidator<Fourth> | UnwrapTypeFromCoerceableOrValidator<Fifth> | UnwrapTypeFromCoerceableOrValidator<Sixth> | UnwrapTypeFromCoerceableOrValidator<Seventh> | UnwrapTypeFromCoerceableOrValidator<Eighth> | UnwrapTypeFromCoerceableOrValidator<Ninth>>;
types.union(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Eighth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Ninth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Tenth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh, eighth: Eighth, ninth: Ninth, tenth: Tenth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> | UnwrapTypeFromCoerceableOrValidator<Second> | UnwrapTypeFromCoerceableOrValidator<Third> | UnwrapTypeFromCoerceableOrValidator<Fourth> | UnwrapTypeFromCoerceableOrValidator<Fifth> | UnwrapTypeFromCoerceableOrValidator<Sixth> | UnwrapTypeFromCoerceableOrValidator<Seventh> | UnwrapTypeFromCoerceableOrValidator<Eighth> | UnwrapTypeFromCoerceableOrValidator<Ninth> | UnwrapTypeFromCoerceableOrValidator<Tenth>>;
types.or (function property)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> | UnwrapTypeFromCoerceableOrValidator<Second>>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> | UnwrapTypeFromCoerceableOrValidator<Second> | UnwrapTypeFromCoerceableOrValidator<Third>>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> | UnwrapTypeFromCoerceableOrValidator<Second> | UnwrapTypeFromCoerceableOrValidator<Third> | UnwrapTypeFromCoerceableOrValidator<Fourth>>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> | UnwrapTypeFromCoerceableOrValidator<Second> | UnwrapTypeFromCoerceableOrValidator<Third> | UnwrapTypeFromCoerceableOrValidator<Fourth> | UnwrapTypeFromCoerceableOrValidator<Fifth>>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> | UnwrapTypeFromCoerceableOrValidator<Second> | UnwrapTypeFromCoerceableOrValidator<Third> | UnwrapTypeFromCoerceableOrValidator<Fourth> | UnwrapTypeFromCoerceableOrValidator<Fifth> | UnwrapTypeFromCoerceableOrValidator<Sixth>>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> | UnwrapTypeFromCoerceableOrValidator<Second> | UnwrapTypeFromCoerceableOrValidator<Third> | UnwrapTypeFromCoerceableOrValidator<Fourth> | UnwrapTypeFromCoerceableOrValidator<Fifth> | UnwrapTypeFromCoerceableOrValidator<Sixth> | UnwrapTypeFromCoerceableOrValidator<Seventh>>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Eighth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh, eighth: Eighth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> | UnwrapTypeFromCoerceableOrValidator<Second> | UnwrapTypeFromCoerceableOrValidator<Third> | UnwrapTypeFromCoerceableOrValidator<Fourth> | UnwrapTypeFromCoerceableOrValidator<Fifth> | UnwrapTypeFromCoerceableOrValidator<Sixth> | UnwrapTypeFromCoerceableOrValidator<Seventh> | UnwrapTypeFromCoerceableOrValidator<Eighth>>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Eighth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Ninth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh, eighth: Eighth, ninth: Ninth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> | UnwrapTypeFromCoerceableOrValidator<Second> | UnwrapTypeFromCoerceableOrValidator<Third> | UnwrapTypeFromCoerceableOrValidator<Fourth> | UnwrapTypeFromCoerceableOrValidator<Fifth> | UnwrapTypeFromCoerceableOrValidator<Sixth> | UnwrapTypeFromCoerceableOrValidator<Seventh> | UnwrapTypeFromCoerceableOrValidator<Eighth> | UnwrapTypeFromCoerceableOrValidator<Ninth>>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Eighth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Ninth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Tenth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh, eighth: Eighth, ninth: Ninth, tenth: Tenth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> | UnwrapTypeFromCoerceableOrValidator<Second> | UnwrapTypeFromCoerceableOrValidator<Third> | UnwrapTypeFromCoerceableOrValidator<Fourth> | UnwrapTypeFromCoerceableOrValidator<Fifth> | UnwrapTypeFromCoerceableOrValidator<Sixth> | UnwrapTypeFromCoerceableOrValidator<Seventh> | UnwrapTypeFromCoerceableOrValidator<Eighth> | UnwrapTypeFromCoerceableOrValidator<Ninth> | UnwrapTypeFromCoerceableOrValidator<Tenth>>;
};
types.or(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> | UnwrapTypeFromCoerceableOrValidator<Second>>;
types.or(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> | UnwrapTypeFromCoerceableOrValidator<Second> | UnwrapTypeFromCoerceableOrValidator<Third>>;
types.or(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> | UnwrapTypeFromCoerceableOrValidator<Second> | UnwrapTypeFromCoerceableOrValidator<Third> | UnwrapTypeFromCoerceableOrValidator<Fourth>>;
types.or(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> | UnwrapTypeFromCoerceableOrValidator<Second> | UnwrapTypeFromCoerceableOrValidator<Third> | UnwrapTypeFromCoerceableOrValidator<Fourth> | UnwrapTypeFromCoerceableOrValidator<Fifth>>;
types.or(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> | UnwrapTypeFromCoerceableOrValidator<Second> | UnwrapTypeFromCoerceableOrValidator<Third> | UnwrapTypeFromCoerceableOrValidator<Fourth> | UnwrapTypeFromCoerceableOrValidator<Fifth> | UnwrapTypeFromCoerceableOrValidator<Sixth>>;
types.or(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> | UnwrapTypeFromCoerceableOrValidator<Second> | UnwrapTypeFromCoerceableOrValidator<Third> | UnwrapTypeFromCoerceableOrValidator<Fourth> | UnwrapTypeFromCoerceableOrValidator<Fifth> | UnwrapTypeFromCoerceableOrValidator<Sixth> | UnwrapTypeFromCoerceableOrValidator<Seventh>>;
types.or(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Eighth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh, eighth: Eighth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> | UnwrapTypeFromCoerceableOrValidator<Second> | UnwrapTypeFromCoerceableOrValidator<Third> | UnwrapTypeFromCoerceableOrValidator<Fourth> | UnwrapTypeFromCoerceableOrValidator<Fifth> | UnwrapTypeFromCoerceableOrValidator<Sixth> | UnwrapTypeFromCoerceableOrValidator<Seventh> | UnwrapTypeFromCoerceableOrValidator<Eighth>>;
types.or(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Eighth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Ninth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh, eighth: Eighth, ninth: Ninth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> | UnwrapTypeFromCoerceableOrValidator<Second> | UnwrapTypeFromCoerceableOrValidator<Third> | UnwrapTypeFromCoerceableOrValidator<Fourth> | UnwrapTypeFromCoerceableOrValidator<Fifth> | UnwrapTypeFromCoerceableOrValidator<Sixth> | UnwrapTypeFromCoerceableOrValidator<Seventh> | UnwrapTypeFromCoerceableOrValidator<Eighth> | UnwrapTypeFromCoerceableOrValidator<Ninth>>;
types.or(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Eighth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Ninth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Tenth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh, eighth: Eighth, ninth: Ninth, tenth: Tenth): TypeValidator<UnwrapTypeFromCoerceableOrValidator<First> | UnwrapTypeFromCoerceableOrValidator<Second> | UnwrapTypeFromCoerceableOrValidator<Third> | UnwrapTypeFromCoerceableOrValidator<Fourth> | UnwrapTypeFromCoerceableOrValidator<Fifth> | UnwrapTypeFromCoerceableOrValidator<Sixth> | UnwrapTypeFromCoerceableOrValidator<Seventh> | UnwrapTypeFromCoerceableOrValidator<Eighth> | UnwrapTypeFromCoerceableOrValidator<Ninth> | UnwrapTypeFromCoerceableOrValidator<Tenth>>;
types.mapOf (method)
mapOf<K extends TypeValidator<any> | CoerceableToTypeValidator | unknown, V extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(keyType: K, valueType: V): TypeValidator<Map<UnwrapTypeFromCoerceableOrValidator<K>, UnwrapTypeFromCoerceableOrValidator<V>>>;
types.setOf (method)
setOf<T extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(itemType: T): TypeValidator<Set<UnwrapTypeFromCoerceableOrValidator<T>>>;
types.maybe (method)
maybe<T extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(itemType: T): TypeValidator<UnwrapTypeFromCoerceableOrValidator<T> | undefined | null>;
types.objectWithProperties (method)
}>(properties: T): TypeValidator<{ [key in keyof T]: UnwrapTypeFromCoerceableOrValidator<T[key]> }>;
types.objectWithOnlyTheseProperties (method)
}>(properties: T): TypeValidator<{ [key in keyof T]: UnwrapTypeFromCoerceableOrValidator<T[key]> }>;
types.mappingObjectOf (method)
mappingObjectOf<Values extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Keys extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(keyType: Keys, valueType: Values): TypeValidator<Record<UnwrapTypeFromCoerceableOrValidator<Keys> extends string | number | symbol ? UnwrapTypeFromCoerceableOrValidator<Keys> : never, UnwrapTypeFromCoerceableOrValidator<Values>>>;
types.record (method)
record<Values extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Keys extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(keyType: Keys, valueType: Values): TypeValidator<Record<UnwrapTypeFromCoerceableOrValidator<Keys> extends string | number | symbol ? UnwrapTypeFromCoerceableOrValidator<Keys> : never, UnwrapTypeFromCoerceableOrValidator<Values>>>;
types.partialObjectWithProperties (method)
}>(properties: T): TypeValidator<{ [key in keyof T]: UnwrapTypeFromCoerceableOrValidator<T[key]> | null | undefined }>;
types.tuple (function property)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second): TypeValidator<[UnwrapTypeFromCoerceableOrValidator<First>, UnwrapTypeFromCoerceableOrValidator<Second>]>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third): TypeValidator<[UnwrapTypeFromCoerceableOrValidator<First>, UnwrapTypeFromCoerceableOrValidator<Second>, UnwrapTypeFromCoerceableOrValidator<Third>]>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth): TypeValidator<[UnwrapTypeFromCoerceableOrValidator<First>, UnwrapTypeFromCoerceableOrValidator<Second>, UnwrapTypeFromCoerceableOrValidator<Third>, UnwrapTypeFromCoerceableOrValidator<Fourth>]>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth): TypeValidator<[UnwrapTypeFromCoerceableOrValidator<First>, UnwrapTypeFromCoerceableOrValidator<Second>, UnwrapTypeFromCoerceableOrValidator<Third>, UnwrapTypeFromCoerceableOrValidator<Fourth>, UnwrapTypeFromCoerceableOrValidator<Fifth>]>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth): TypeValidator<[UnwrapTypeFromCoerceableOrValidator<First>, UnwrapTypeFromCoerceableOrValidator<Second>, UnwrapTypeFromCoerceableOrValidator<Third>, UnwrapTypeFromCoerceableOrValidator<Fourth>, UnwrapTypeFromCoerceableOrValidator<Fifth>, UnwrapTypeFromCoerceableOrValidator<Sixth>]>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh): TypeValidator<[UnwrapTypeFromCoerceableOrValidator<First>, UnwrapTypeFromCoerceableOrValidator<Second>, UnwrapTypeFromCoerceableOrValidator<Third>, UnwrapTypeFromCoerceableOrValidator<Fourth>, UnwrapTypeFromCoerceableOrValidator<Fifth>, UnwrapTypeFromCoerceableOrValidator<Sixth>, UnwrapTypeFromCoerceableOrValidator<Seventh>]>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Eighth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh, eighth: Eighth): TypeValidator<[UnwrapTypeFromCoerceableOrValidator<First>, UnwrapTypeFromCoerceableOrValidator<Second>, UnwrapTypeFromCoerceableOrValidator<Third>, UnwrapTypeFromCoerceableOrValidator<Fourth>, UnwrapTypeFromCoerceableOrValidator<Fifth>, UnwrapTypeFromCoerceableOrValidator<Sixth>, UnwrapTypeFromCoerceableOrValidator<Seventh>, UnwrapTypeFromCoerceableOrValidator<Eighth>]>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Eighth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Ninth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh, eighth: Eighth, ninth: Ninth): TypeValidator<[UnwrapTypeFromCoerceableOrValidator<First>, UnwrapTypeFromCoerceableOrValidator<Second>, UnwrapTypeFromCoerceableOrValidator<Third>, UnwrapTypeFromCoerceableOrValidator<Fourth>, UnwrapTypeFromCoerceableOrValidator<Fifth>, UnwrapTypeFromCoerceableOrValidator<Sixth>, UnwrapTypeFromCoerceableOrValidator<Seventh>, UnwrapTypeFromCoerceableOrValidator<Eighth>, UnwrapTypeFromCoerceableOrValidator<Ninth>]>;
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Eighth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Ninth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Tenth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh, eighth: Eighth, ninth: Ninth, tenth: Tenth): TypeValidator<[UnwrapTypeFromCoerceableOrValidator<First>, UnwrapTypeFromCoerceableOrValidator<Second>, UnwrapTypeFromCoerceableOrValidator<Third>, UnwrapTypeFromCoerceableOrValidator<Fourth>, UnwrapTypeFromCoerceableOrValidator<Fifth>, UnwrapTypeFromCoerceableOrValidator<Sixth>, UnwrapTypeFromCoerceableOrValidator<Seventh>, UnwrapTypeFromCoerceableOrValidator<Eighth>, UnwrapTypeFromCoerceableOrValidator<Ninth>, UnwrapTypeFromCoerceableOrValidator<Tenth>]>;
};
types.tuple(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second): TypeValidator<[UnwrapTypeFromCoerceableOrValidator<First>, UnwrapTypeFromCoerceableOrValidator<Second>]>;
types.tuple(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third): TypeValidator<[UnwrapTypeFromCoerceableOrValidator<First>, UnwrapTypeFromCoerceableOrValidator<Second>, UnwrapTypeFromCoerceableOrValidator<Third>]>;
types.tuple(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth): TypeValidator<[UnwrapTypeFromCoerceableOrValidator<First>, UnwrapTypeFromCoerceableOrValidator<Second>, UnwrapTypeFromCoerceableOrValidator<Third>, UnwrapTypeFromCoerceableOrValidator<Fourth>]>;
types.tuple(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth): TypeValidator<[UnwrapTypeFromCoerceableOrValidator<First>, UnwrapTypeFromCoerceableOrValidator<Second>, UnwrapTypeFromCoerceableOrValidator<Third>, UnwrapTypeFromCoerceableOrValidator<Fourth>, UnwrapTypeFromCoerceableOrValidator<Fifth>]>;
types.tuple(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth): TypeValidator<[UnwrapTypeFromCoerceableOrValidator<First>, UnwrapTypeFromCoerceableOrValidator<Second>, UnwrapTypeFromCoerceableOrValidator<Third>, UnwrapTypeFromCoerceableOrValidator<Fourth>, UnwrapTypeFromCoerceableOrValidator<Fifth>, UnwrapTypeFromCoerceableOrValidator<Sixth>]>;
types.tuple(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh): TypeValidator<[UnwrapTypeFromCoerceableOrValidator<First>, UnwrapTypeFromCoerceableOrValidator<Second>, UnwrapTypeFromCoerceableOrValidator<Third>, UnwrapTypeFromCoerceableOrValidator<Fourth>, UnwrapTypeFromCoerceableOrValidator<Fifth>, UnwrapTypeFromCoerceableOrValidator<Sixth>, UnwrapTypeFromCoerceableOrValidator<Seventh>]>;
types.tuple(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Eighth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh, eighth: Eighth): TypeValidator<[UnwrapTypeFromCoerceableOrValidator<First>, UnwrapTypeFromCoerceableOrValidator<Second>, UnwrapTypeFromCoerceableOrValidator<Third>, UnwrapTypeFromCoerceableOrValidator<Fourth>, UnwrapTypeFromCoerceableOrValidator<Fifth>, UnwrapTypeFromCoerceableOrValidator<Sixth>, UnwrapTypeFromCoerceableOrValidator<Seventh>, UnwrapTypeFromCoerceableOrValidator<Eighth>]>;
types.tuple(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Eighth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Ninth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh, eighth: Eighth, ninth: Ninth): TypeValidator<[UnwrapTypeFromCoerceableOrValidator<First>, UnwrapTypeFromCoerceableOrValidator<Second>, UnwrapTypeFromCoerceableOrValidator<Third>, UnwrapTypeFromCoerceableOrValidator<Fourth>, UnwrapTypeFromCoerceableOrValidator<Fifth>, UnwrapTypeFromCoerceableOrValidator<Sixth>, UnwrapTypeFromCoerceableOrValidator<Seventh>, UnwrapTypeFromCoerceableOrValidator<Eighth>, UnwrapTypeFromCoerceableOrValidator<Ninth>]>;
types.tuple(...) (call signature)
<First extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Second extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Third extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fourth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Fifth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Sixth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Seventh extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Eighth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Ninth extends TypeValidator<any> | CoerceableToTypeValidator | unknown, Tenth extends TypeValidator<any> | CoerceableToTypeValidator | unknown>(first: First, second: Second, third: Third, fourth: Fourth, fifth: Fifth, sixth: Sixth, seventh: Seventh, eighth: Eighth, ninth: Ninth, tenth: Tenth): TypeValidator<[UnwrapTypeFromCoerceableOrValidator<First>, UnwrapTypeFromCoerceableOrValidator<Second>, UnwrapTypeFromCoerceableOrValidator<Third>, UnwrapTypeFromCoerceableOrValidator<Fourth>, UnwrapTypeFromCoerceableOrValidator<Fifth>, UnwrapTypeFromCoerceableOrValidator<Sixth>, UnwrapTypeFromCoerceableOrValidator<Seventh>, UnwrapTypeFromCoerceableOrValidator<Eighth>, UnwrapTypeFromCoerceableOrValidator<Ninth>, UnwrapTypeFromCoerceableOrValidator<Tenth>]>;
types.coerce (function property)
value: V,
types.FILE (property)
types.Path (property)
types.JSX (object property)
{
[key: string | symbol | number]: unknown;
},
unknown
>
>;
{
[key: string | symbol | number]: unknown;
},
unknown
>
>;
}
types.JSX.unknownElement (property)
{
[key: string | symbol | number]: unknown;
},
unknown
>
>;
types.JSX.anyElement (property)
types.JSX.Element (property)
{
[key: string | symbol | number]: unknown;
},
unknown
>
>;
types.JSX.Fragment (property)
TypeValidator (type)
CoerceToTypeValidator (type)
V extends StringConstructor
: V extends NumberConstructor
: V extends BooleanConstructor
: V extends SymbolConstructor
: V extends ArrayConstructor
: V extends SetConstructor
: V extends MapConstructor
[key: string | number | symbol]: unknown;
}>
: V extends DateConstructor
: V extends FunctionConstructor
: V extends ArrayBufferConstructor
: V extends SharedArrayBufferConstructor
: V extends DataViewConstructor
: V extends Int8ArrayConstructor
: V extends Uint8ArrayConstructor
: V extends Uint8ClampedArrayConstructor
: V extends Int16ArrayConstructor
: V extends Uint16ArrayConstructor
: V extends Int32ArrayConstructor
: V extends Uint32ArrayConstructor
: V extends Float32ArrayConstructor
: V extends Float64ArrayConstructor
: V extends {}
[
key in keyof V
V[key]
>;
}>
: V extends []
: V extends [any]
Array<
V[0]
>
>
>
: V extends Array<any>
Array<unknown>
>
: V extends {
new (
...args: any
): any;
}
InstanceType<V>
>
CoerceableToTypeValidator (type)
| boolean
| number
| string
| bigint
| undefined
| null
| StringConstructor
| NumberConstructor
| BooleanConstructor
| SymbolConstructor
| ArrayConstructor
| SetConstructor
| MapConstructor
| DateConstructor
| FunctionConstructor
| ArrayBufferConstructor
| SharedArrayBufferConstructor
| DataViewConstructor
| Int8ArrayConstructor
| Uint8ArrayConstructor
| Uint8ClampedArrayConstructor
| Int16ArrayConstructor
| Uint16ArrayConstructor
| Int32ArrayConstructor
| Uint32ArrayConstructor
| Float32ArrayConstructor
| Float64ArrayConstructor
| {}
| []
| [any]
| Array<any>
| {
new (...args: any): any;
};
UnwrapTypeFromCoerceableOrValidator (type)
> =
? T
? T
: never
: unknown;