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 15d6b42d5b
commit 9cbdbe5656
22 changed files with 58 additions and 135 deletions

View File

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