Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ctrlplusb/react-injectables
/ without
Function
without
src/utils.js:42–43 ·
view source on GitHub ↗
(toRemove)
Source
from the content-addressed store, hash-verified
40
41
// :: a -> [a] -> [a]
42
export
const
without = (toRemove) => (point) =>
43
filter((x) => !Object.is(x, toRemove))(point);
44
45
// :: [a] -> [a] -> [a]
46
export
const
withoutAll = (toRemove) => (point) =>
Callers
3
removeRegistration
Method · 0.90
removeInjectable
Method · 0.90
removeInjector
Method · 0.90
Calls
1
filter
Function · 0.85
Tested by
no test coverage detected