/
var
/
www
/
greso.tech
/
server
/
nsm
/
node_modules
/
arrify
/
/var/www/greso.tech/server/nsm/node_modules/arrify
mkdir
upload
Name
Size
Mode
Actions
index.d.ts
645
0644
edit
dl
rm
index.js
333
0644
edit
dl
rm
license
1109
0644
edit
dl
rm
package.json
555
0644
edit
dl
rm
readme.md
543
0644
edit
dl
rm
Edit:
/var/www/greso.tech/server/nsm/node_modules/arrify/index.js
(333B)
'use strict'; const arrify = value => { if (value === null || value === undefined) { return []; } if (Array.isArray(value)) { return value; } if (typeof value === 'string') { return [value]; } if (typeof value[Symbol.iterator] === 'function') { return [...value]; } return [value]; }; module.exports = arrify;
Save
cmd:
run