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

Function arrayRemove

lib/test/angular/1.7.0/angular.js:897–903  ·  view source on GitHub ↗
(array, value)

Source from the content-addressed store, hash-verified

895}
896
897function arrayRemove(array, value) {
898 var index = array.indexOf(value);
899 if (index >= 0) {
900 array.splice(index, 1);
901 }
902 return index;
903}
904
905/**
906 * @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