UNPKG
chain-able
Version:
beta (5.0.0-beta.4)
beta.1 (4.0.0-beta.1)
beta.2 (4.0.0-beta.2)
dot (2.0.2)
latest (4.0.6)
5.0.0
5.0.0-beta.4
5.0.0-beta.3
4.0.6
4.0.5
4.0.4
4.0.3
4.0.2
4.0.1
4.0.0
4.0.0-beta.3
4.0.0-beta.2
4.0.0-beta.1
3.0.0
2.0.2
2.0.1
2.0.0
2.0.0-beta.1
1.0.1
1.0.0
interfaces that describe their intentions.
github.com/fluents/chain-able
fluents/chain-able
chain-able
/
src
/
deps
/
is
/
objPure.js
8 lines
(6 loc)
•
261 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
const
isArray =
require
(
'./array'
)
const
isObjLoose =
require
(
'./objLoose'
)
const
isNullOrUndef =
require
(
'./nullOrUndefined'
)
const
isFunction =
require
(
'./function'
)
module
.
exports
=
x
=>
!
isNullOrUndef
(x) && !
isArray
(x) && !
isFunction
(x) &&
isObjLoose
(x)