Is object Array - Node.js Array

Node.js examples for Array:Array Operation

Description

Is object Array

Demo Code


export function isArray(obj) {
  return Object.prototype.toString.call(obj) === "[object Array]"
}

Related Tutorials