every - nodef/extra-map GitHub Wiki
Check if all values satisfy a test.
function every(x, ft)
// x: a map
// ft: test function (v, k, x)
const map = require('extra-map');
var x = new Map(['a', 1], ['b', 2], ['c', -3], ['d', -4](/nodef/extra-map/wiki/'a',-1],-['b',-2],-['c',--3],-['d',--4));
map.every(x, v => v > 0);
// → false
map.every(x, v => v > -10);
// → true