MCPcopy Index your code
hub / github.com/flightjs/flight / search

Function search

lib/debug.js:29–35  ·  view source on GitHub ↗
(util, expected, searchTerm, options)

Source from the content-addressed store, hash-verified

27 }
28
29 function search(util, expected, searchTerm, options) {
30 if (!expected || typeof searchTerm == expected) {
31 traverse(util, searchTerm, options);
32 } else {
33 console.error([searchTerm, 'must be', expected].join(' '));
34 }
35 }
36
37 var tests = {
38 'name': function(searchTerm, obj, prop) {return searchTerm == prop;},

Callers 5

byNameFunction · 0.85
byNameContainsFunction · 0.85
byTypeFunction · 0.85
byValueFunction · 0.85
byValueCoercedFunction · 0.85

Calls 1

traverseFunction · 0.85

Tested by

no test coverage detected