UNPKG
@aitoralejandro/amanda
Version:
latest (1.0.6)
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Utilities collection library
AitorAlejandro/amanda
@aitoralejandro/amanda
/
src
/
isObject.ts
7 lines
(5 loc)
•
196 B
text/typescript
View Raw
1
2
3
4
5
6
7
import
{ isArray }
from
'./isArray'
;
import
{ isNull }
from
'./isNull'
;
export
function
isObject
(
value
:
any
):
boolean
{
return
typeof
value ===
'object'
&& !
isArray
(value) && !
isNull
(value); }