isArray.ts 104 B

1234
  1. export const isArray = (obj) => {
  2. return Object.prototype.toString.call(obj) === '[object Array]';
  3. };