MCPcopy Create free account
hub / github.com/ctrlplusb/react-injectables / all

Function all

src/utils.js:33–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31
32// :: (a -> boolean) => [a] => [a]
33export const all = f => x => {
34 for (let i = 0; i < x.length; i++) {
35 if (!f(x[i])) return false;
36 }
37
38 return true;
39};
40
41// :: a -> [a] -> [a]
42export const without = (toRemove) => (point) =>

Callers 1

withoutAllFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected