function isArray(value) {
  return toString.call(value) === '[object Array]';
}
@ngdoc function
@name angular.isArray
@function

@description
Determines if a reference is an `Array`.

@param {*} value Reference to check.
@returns {boolean} True if `value` is an `Array`.