MCPcopy
hub / github.com/NUKnightLab/TimelineJS3 / funcArg

Function funcArg

src/js/net/Net.js:286–288  ·  view source on GitHub ↗
(context, arg, idx, payload)

Source from the content-addressed store, hash-verified

284 }
285
286 function funcArg(context, arg, idx, payload) {
287 return isFunction(arg) ? arg.call(context, idx, payload) : arg
288 }
289
290 function setAttribute(node, name, value) {
291 value == null ? node.removeAttribute(name) : node.setAttribute(name, value)

Callers 1

Net.jsFile · 0.85

Calls 1

isFunctionFunction · 0.85

Tested by

no test coverage detected