self-assert / Requirements / isIn
Function: isIn()
isIn<
ValueType
>(...allowedSet
):Predicate
<ValueType
>
Returns a predicate that checks if the value is in the allowed set.
Type Parameters
Type Parameter |
---|
ValueType |
Parameters
Parameter | Type |
---|---|
...allowedSet | ValueType [] |
Returns
Predicate
<ValueType
>