Collect.js reject() Method
The reject() method is used to filter the given collection of elements using the given callback function. If the callback function returns true, then the element is removed from the resulting collection, otherwise, it is not removed. Syntax: collect(array).reject(callback) Parameters: The collect()