UNPKG
panjareh
Version:
latest (1.0.16)
1.0.16
Panjareh using aparat and phoenix-video-player to play videos on desktops and tvs.
panjareh
/
src
/
utils
/
isObject.js
12 lines
(9 loc)
•
216 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
/** * Simple object check. *
@param
value
*
@returns
{
boolean
} */
export
default
function
isObject
(
value
) {
const
type
=
typeof
value;
return
value !==
null
&&
type
===
"object"
&& !
Array
.
isArray
(value); }