MCPcopy
hub / github.com/angular-ui/ui-router / arrayRemove

Function arrayRemove

test/angular/1.4/angular.js:819–825  ·  view source on GitHub ↗
(array, value)

Source from the content-addressed store, hash-verified

817}
818
819function arrayRemove(array, value) {
820 var index = array.indexOf(value);
821 if (index >= 0) {
822 array.splice(index, 1);
823 }
824 return index;
825}
826
827/**
828 * @ngdoc function

Callers 4

removeHandlerFunction · 0.70
$CompileProviderFunction · 0.70
$RootScopeProviderFunction · 0.70
FormControllerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected