![]() |
VOOZH | about |
The whereNotIn() method in collect.js is used to filter the elements from the given collection on the basis of key and value. If particular set of key-value is found then it is filtered out.
Installation:
npm install collect.js
<script src="https://cdnjs.com/libraries/collect.js"></script>
Syntax:
whereNotIn(key, array_value);
Parameters:
Return Value: It returns the object.
Example 1:
Output:
👁 ImageExample 2: