Last updated on January 21, 2016
AngularJS isArray() is one of the useful ng function. This function is used to identify if a reference is array or not. This function return Boolean which means , it will return true if the reference is an array, return false if the reference is not an array.
Syntax:
angular.isArray(value);
Example:
AngularJS isArray() - arjunphp.com
Is the {{sourceArray}} an array: {{ sourceAryIsArray }}
Is the {{sourceString}} an array: {{ sourceStringIsArray }}