isNotIn()
isNotIn<
T
>(a
): (arg
) =>boolean
Determines if the value is not in the provided array.
Type Parameters
• T
The type of the value/array.
Parameters
a
T
[]
The array to check for the value in.
Returns
Function
Parameters
arg
T
Returns
boolean
Remarks
pure function
Example
isIn([58, 93, 29, 23])(23); // false
isIn([58, 93, 29, 123])(23); // true