MCPcopy Create free account
hub / github.com/bclinkinbeard/angular / includes

Function includes

test/fixtures/foo.js:764–766  ·  view source on GitHub ↗
(array, obj)

Source from the content-addressed store, hash-verified

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

Callers 1

FormControllerFunction · 0.85

Calls 1

indexOfFunction · 0.85

Tested by

no test coverage detected