UNPKG

eslint-plugin-angular

Version:
9 lines (6 loc) 314 B
// example - valid: true angular.isArray(someArray); // example - valid: false, errorMessage: "You should use the angular.isArray method" Object.prototype.toString.call(someArray) === '[object Array]'; // example - valid: false, errorMessage: "You should use the angular.isArray method" Array.isArray(someArray)