Is there an equivalent of “Array.None” in JS?
As logically concluded by the linq example None is the same as !Any, so you could define your own extension method as follows: let none = (arr, callback) => !arr.some(callback) And then call like this: let arr = [“a”,”b”,”c”] let noBs = none(arr, el => el === “b”) Or if you want to extend Array.proto, … Read more