UNPKG
textdotjs
Version:
latest (1.6.1)
1.6.1
1.6.0
1.5.9
1.5.8
1.5.7
1.5.6
1.5.4
1.5.3
1.5.2
1.5.1
1.5.0
1.3.0
1.2.0
1.1.0
text.js
textdotjs
/
template
/
node_modules
/
es-object-atoms
/
isObject.js
7 lines
(5 loc)
•
161 B
JavaScript
View Raw
1
2
3
4
5
6
7
'use strict'
;
/**
@type
{
import('./isObject')
} */
module
.
exports
=
function
isObject
(
x
) {
return
!!x && (
typeof
x ===
'function'
||
typeof
x ===
'object'
); };