MCPcopy
hub / github.com/angular-ui/ui-router / isArray

Function isArray

test/angular/1.7/angular.js:759–761  ·  view source on GitHub ↗

* @ngdoc function * @name angular.isArray * @module ng * @kind function * * @description * Determines if a reference is an `Array`. * * @param {*} value Reference to check. * @returns {boolean} True if `value` is an `Array`.

(arr)

Source from the content-addressed store, hash-verified

757 * @returns {boolean} True if `value` is an `Array`.
758 */
759function isArray(arr) {
760 return Array.isArray(arr) || arr instanceof Array;
761}
762
763/**
764 * @description

Callers 15

isArrayLikeFunction · 0.85
forEachFunction · 0.85
baseExtendFunction · 0.85
copyFunction · 0.85
copyRecurseFunction · 0.85
copyElementFunction · 0.85
shallowCopyFunction · 0.85
equalsFunction · 0.85
parseKeyValueFunction · 0.85
toKeyValueFunction · 0.85
assertArgFnFunction · 0.85
jqLiteInheritedDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected