Files
30-seconds-of-code/test/allBy/allBy.js
2018-02-14 11:46:15 +02:00

2 lines
65 B
JavaScript

const allBy = (arr, fn) => arr.every(fn);
module.exports = allBy;