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

Function arrayRemove

lib/test/angular/1.8.0/angular.js:915–921  ·  view source on GitHub ↗
(array, value)

Source from the content-addressed store, hash-verified

913}
914
915function arrayRemove(array, value) {
916 var index = array.indexOf(value);
917 if (index >= 0) {
918 array.splice(index, 1);
919 }
920 return index;
921}
922
923/**
924 * @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