UNPKG
formvuelate
Version:
latest (3.9.1)
3.9.1
3.8.1
3.8.0
3.7.3
3.7.2
3.7.1
3.7.0
3.6.5
3.6.4
3.6.3
3.6.2
3.6.1
3.6.0
3.5.3
3.5.2
3.5.1
3.5.0
3.4.1
3.4.0
3.3.2
3.3.2-alpha.0
3.3.1
3.3.0
3.2.3
3.2.2
3.2.1
3.2.0
3.1.1
3.1.0
3.0.1
3.0.0
3.0.0-beta.7
3.0.0-beta.6
3.0.0-beta.5
3.0.0-beta.4
3.0.0-beta.3
3.0.0-beta.2
3.0.0-beta.1
2.2.1
2.2.0
2.1.0
2.0.0
2.0.0-beta.3
2.0.0-beta.2
0.0.0
Schema Form Generator
formvuelate.js.org
formvuelate/formvuelate
formvuelate
/
src
/
utils
/
assertions.js
9 lines
(8 loc)
•
213 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
/** * Returns true if the passed value is an object *
@param
{
*
}
obj
*
@returns
{
boolean
} */
export
function
isObject
(
obj
) {
return
obj !==
null
&& !!obj &&
typeof
obj ===
'object'
&& !
Array
.
isArray
(obj) }