Collect.js | whereBetween() Function
The whereBetween()function is used to filter an input within a given range. In JavaScript, the array is first converted to a collection and then the function is applied to the collection.Syntax: data.whereBetween(key, [range]); Parameters: This function accepts two parameter as mentioned above and d