greenPro/unpackage/dist/dev/mp-weixin/wxcomponents/vant/wxs/array.wxs

6 lines
172 B
Plaintext
Raw Permalink Normal View History

2024-06-02 14:51:29 +00:00
function isArray(array) {
return array && (array.constructor === 'Array' || (typeof Array !== 'undefined' && Array.isArray(array)));
}
module.exports.isArray = isArray;