MCPcopy Create free account
hub / github.com/apache/cloudstack / arrayRemove

Function arrayRemove

tools/ngui/static/js/lib/angular.js:534–539  ·  view source on GitHub ↗
(array, value)

Source from the content-addressed store, hash-verified

532}
533
534function arrayRemove(array, value) {
535 var index = indexOf(array, value);
536 if (index >=0)
537 array.splice(index, 1);
538 return value;
539}
540
541function isLeafNode (node) {
542 if (node) {

Callers 3

JQLiteUnbindFunction · 0.85
$RootScopeProviderFunction · 0.85
FormControllerFunction · 0.85

Calls 1

indexOfFunction · 0.85

Tested by

no test coverage detected