MCPcopy
hub / github.com/prettier/prettier / ramda_compose.js

File ramda_compose.js

tests/format/js/functional-composition/ramda_compose.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1var classyGreeting = (firstName, lastName) =>
2 "The name's " + lastName + ", " + firstName + " " + lastName;
3var yellGreeting = R.compose(R.toUpper, classyGreeting);
4yellGreeting("James", "Bond"); //=> "THE NAME'S BOND, JAMES BOND"

Callers

nothing calls this directly

Calls 3

lookupUserFunction · 0.85
composeMethod · 0.80
getFunction · 0.50

Tested by

no test coverage detected