MCPcopy
hub / github.com/deepops-ai/deepops / iterFunction

Method iterFunction

ui/src/utils/treeNode.ts:18–20  ·  view source on GitHub ↗
(fn, depth = 0)

Source from the content-addressed store, hash-verified

16 value;
17 children;
18 static iterFunction(fn, depth = 0) {
19 return node => fn(node.value, node, depth);
20 }
21
22 static searchFunction(search) {
23 if (typeof search === 'function') {

Callers 2

findMethod · 0.80
getPathMethod · 0.80

Calls 1

fnFunction · 0.50

Tested by

no test coverage detected