npm.io
2.0.0 • Published 6 years ago

@writetome51/is-object-not-object

Licence
MIT
Version
2.0.0
Deps
0
Size
2 kB
Vulns
0
Weekly
0

isObject(arg): boolean

Returns true if arg is array or object.
Returns false if arg is null.

notObject(arg): boolean

Returns true if arg is anything other than array or object.
Returns true if arg is null.

Installation

npm i @writetome51/is-object-not-object

Loading

import { isObject, notObject } from '@writetome51/is-object-not-object';

Keywords