Files
30-seconds-of-code/test/none/none.js
Angelos Chalaris 9cbdbe5656 Updated all, any, none
Merged them with their by counterparts.
2018-02-16 13:43:43 +02:00

2 lines
73 B
JavaScript

const none = (arr, fn = Boolean) => !arr.some(fn);
module.exports = none;