MCPcopy
hub / github.com/flowjs/flow.js / arrayRemove

Function arrayRemove

src/flow.js:1543–1548  ·  view source on GitHub ↗

* Remove value from array * @param array * @param value

(array, value)

Source from the content-addressed store, hash-verified

1541 * @param value
1542 */
1543 function arrayRemove(array, value) {
1544 var index = array.indexOf(value);
1545 if (index > -1) {
1546 array.splice(index, 1);
1547 }
1548 }
1549
1550 /**
1551 * If option is a function, evaluate it with given params

Callers 1

flow.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…