UNPKG
vandium-utils
Version:
latest (2.0.0)
2.0.0
1.2.0
1.1.1
1.1.0
1.0.0
vandium common utility functions
github.com/vandium-io/vandium-utils
vandium-io/vandium-utils
vandium-utils
/
lib
/
is_object.js
9 lines
(5 loc)
•
158 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
function
isObject
(
value
) {
let
type
=
typeof
value;
return
!!value && ((
type
==
'object'
) || (
type
==
'function'
)); }
module
.
exports
= isObject;