Sign in
apache
/
cordova-js
/
refs/heads/cb-4.2.3-node-modules-for-coho-only
/
.
/
node_modules
/
acorn-jsx
/
node_modules
/
acorn
/
src
/
util.js
blob: 3517f8d212a7493eef1190e506be578727c8a7bb [
file
] [
log
] [
blame
]
export
function
isArray
(
obj
)
{
return
Object
.
prototype
.
toString
.
call
(
obj
)
===
"[object Array]"
}
// Checks if an object has a property.
export
function
has
(
obj
,
propName
)
{
return
Object
.
prototype
.
hasOwnProperty
.
call
(
obj
,
propName
)
}