mihaifm / linq

linq.js - LINQ for JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overloaded `all` with extra predicate args like `every`

lonix1 opened this issue · comments

This library's all behaves exactly like LINQ, and the predicate is val => //....

The native every has predicate: (val, index, arr) => //...

The index and arr arguments are often very useful. It would be nice if they could be added to the library via overloads.