UNPKG

es-toolkit

Version:

A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.

11 lines (9 loc) 194 B
function every(map, doesMatch) { for (const [key, value] of map) { if (!doesMatch(value, key, map)) { return false; } } return true; } export { every };