Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
766
function
includes(array, obj) {
767
return
indexOf(array, obj) != -1;
768
}
769
770
function
indexOf(array, obj) {
771
if
(array.indexOf)
return
array.indexOf(obj);
Callers
1
FormController
Function · 0.70
Calls
1
indexOf
Function · 0.85
Tested by
no test coverage detected