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

// Checks if an object has a property.

export function has(obj, propName) {
  return Object.prototype.hasOwnProperty.call(obj, propName)
}