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

Function arrayRemove

test/angular/1.6/angular.js:939–945  ·  view source on GitHub ↗
(array, value)

Source from the content-addressed store, hash-verified

937}
938
939function arrayRemove(array, value) {
940 var index = array.indexOf(value);
941 if (index >= 0) {
942 array.splice(index, 1);
943 }
944 return index;
945}
946
947/**
948 * @ngdoc function

Callers 4

removeHandlerFunction · 0.70
$CompileProviderFunction · 0.70
$RootScopeProviderFunction · 0.70
angular.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected