Skip to content

self-assert / Requirements / isNotIn

Function: isNotIn()

isNotIn<ValueType>(...forbiddenSet): Predicate<ValueType>

Returns a predicate that checks if the value is not in the forbidden set.

Type Parameters

Type Parameter
ValueType

Parameters

ParameterType
...forbiddenSetValueType[]

Returns

Predicate<ValueType>