var myArray = [1, 2, 3, 4, 5]; console.log(_.isArray(myArray)); // returns true
var myObject = {name: "John", age: 30}; console.log(_.isArray(myObject)); // returns falseIn this example, we declare an object `myObject` and then use the `_isArray` method to determine if it is an Array. Since it is not an Array, `_isArray` returns `false`. Package Library: Underscore.js library.