MCPcopy Index your code
hub / github.com/angular-ui/ui-router / includes

Function includes

test/angular/1.2/angular.js:766–768  ·  view source on GitHub ↗
(array, obj)

Source from the content-addressed store, hash-verified

764
765
766function includes(array, obj) {
767 return indexOf(array, obj) != -1;
768}
769
770function indexOf(array, obj) {
771 if (array.indexOf) return array.indexOf(obj);

Callers 1

FormControllerFunction · 0.70

Calls 1

indexOfFunction · 0.85

Tested by

no test coverage detected