Sign in
apache
/
cordova-js
/
refs/heads/cb-4.2.3-node-modules-for-coho-only
/
.
/
node_modules
/
arrify
/
index.js
blob: 2a2fdeeb1dc5a5cb75e5ba639af4ac016eab5abd [
file
] [
log
] [
blame
]
'use strict'
;
module
.
exports
=
function
(
val
)
{
if
(
val
===
null
||
val
===
undefined
)
{
return
[];
}
return
Array
.
isArray
(
val
)
?
val
:
[
val
];
};