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

Function withoutAll

src/utils.js:46–49  ·  view source on GitHub ↗
(toRemove)

Source from the content-addressed store, hash-verified

44
45// :: [a] -> [a] -> [a]
46export const withoutAll = (toRemove) => (point) =>
47 filter(
48 (x) => all(y => !Object.is(x, y))(toRemove)
49 )(point);
50
51// :: a -> [b]
52export const uniqBy = x => y => {

Callers 2

registerInjectableMethod · 0.90
containsUniqFunction · 0.85

Calls 2

filterFunction · 0.85
allFunction · 0.85

Tested by

no test coverage detected