Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura
Emmanuel b7eccee437 Navbar 5 vuotta sitten
..
LICENSE Navbar 5 vuotta sitten
README.md Navbar 5 vuotta sitten
index.js Navbar 5 vuotta sitten
package.json Navbar 5 vuotta sitten
test.js Navbar 5 vuotta sitten
yarn.lock Navbar 5 vuotta sitten

README.md

objectorarray

npm version downloads

Is the value an object or an array but not null or RegExp?

Install

  $ yarn add objectorarray

Usage

 import objectorarray from 'objectorarray'

True

All of the following return true:

  objectorarray({})
  objectorarray([])  
  objectorarray(Object.create({}))
  objectorarray(Object.create(Object.prototype))
  objectorarray(Object.create(null))
  objectorarray(new Foo)

False

All of the following return false:

  objectorarray()
  objectorarray(function () {})
  objectorarray(1)
  objectorarray(/foo/)
  objectorarray(undefined)
  objectorarray(null)

License

MIT