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

Function find

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

Source from the content-addressed store, hash-verified

90
91// :: (a => boolean) => [a] => a|undefined
92export const find = f => x => x.find(f);
93
94function KeyedComponent({ children }) {
95 return Children.only(children);

Callers 4

getRegistrationMethod · 0.90
findInjectableMethod · 0.90
findInjectionMethod · 0.90
findInjectorMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected