MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / hasNameForId

Function hasNameForId

code/styling/public/app.js:20163–20167  ·  view source on GitHub ↗
(names)

Source from the content-addressed store, hash-verified

20161
20162/* factory for a names dictionary checking the existance of an ID:name pairing */
20163var hasNameForId = function hasNameForId(names) {
20164 return function (id, name) {
20165 return names[id] !== undefined && names[id][name];
20166 };
20167};
20168
20169/* stringifies names for the html/element output */
20170var stringifyNames = function stringifyNames(names) {

Callers 3

makeSpeedyTagFunction · 0.85
makeBrowserTagFunction · 0.85
makeServerTagInternalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected