1.0.4 • Published 6 months ago

@novakod/is-pure-object v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

The function helps to determine whether an object is "pure"

tests npm license

Here is an example:

 isPureObject(new Date()) // false
 isPureObject([]) // false
 isPureObject(new Array()), // false
 isPureObject(undefined) // false
 isPureObject(null) // false
 isPureObject(false) // false
 isPureObject(1) // false
 isPureObject("test") // false
 isPureObject(() => {}) // false
 isPureObject(function () {}) // false
 isPureObject({}) // true
 isPureObject(new Object()), // true
1.0.4

6 months ago

1.0.3

6 months ago

1.0.2

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago