ValidatorWithList

type ValidatorWithList<TO, FROM>: (p1, p2) => p1 is TO;

Type parameters

Type parameterValue
TO extends FROM-
FROMunknown

Parameters

ParameterType
p1FROM
p2unknown[]

Returns

p1 is TO