# objectorarray

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

Latest version **1.0.5** (published 2021-06-21) · ISC license · 0 weekly downloads

## Install

```sh
npm install objectorarray
pnpm add objectorarray
yarn add objectorarray
bun add objectorarray
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2021-06-21 |
| First published | 2017-12-06 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | zhouhancheng |
| Maintainers | zhouhancheng |
| Keywords | javascript |

## Links

- npm: https://www.npmjs.com/package/objectorarray
- Repository: https://github.com/ZhouHansen/objectnotnull
- Homepage: https://github.com/ZhouHansen/objectnotnull#readme
- Issues: https://github.com/ZhouHansen/objectnotnull/issues
- npm.io page: https://npm.io/package/objectorarray

## Recent versions

- 1.0.5 (latest) — 2021-06-21
- 1.0.4 — 2020-02-20
- 1.0.3 — 2017-12-30
- 1.0.2 — 2017-12-08
- 1.0.1 — 2017-12-06

## README

# objectorarray
 [![npm version][1]][0] [![downloads][2]][0]

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

## Install

```
  $ yarn add objectorarray
```

## Usage

```js
 import objectorarray from 'objectorarray'
```

### True

All of the following return true:

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

### False

All of the following return false:

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

## License

MIT

[0]: https://npmjs.org/package/objectorarray
[1]: https://img.shields.io/npm/v/objectorarray.svg?style=flat-square
[2]: http://img.shields.io/npm/dm/objectorarray.svg?style=flat-square

---
_Source: https://npm.io/package/objectorarray · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
