notInArray()function
notInArray(left: unknown, right: ImmutableArray): boolean
| Param | Type | |
|---|---|---|
left | unknown | The value to look for. required |
right | ImmutableArray | The array to search within. required |
| Return | |
|---|---|
boolean | true if left is not an item of right. |
Is unknown value left not in array right?
Examples
notInArray(9, [1, 2, 3]) // true