Updated all, any, none

Merged them with their by counterparts.
This commit is contained in:
Angelos Chalaris
2018-02-16 13:43:43 +02:00
parent ce77e2b8b7
commit 9a3bd8ffae
22 changed files with 58 additions and 135 deletions

View File

@ -1,2 +1,2 @@
const any = arr => arr.some(Boolean);
const any = (arr, fn = Boolean) => arr.some(fn);
module.exports = any;