This repository has been archived on 2024-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
yoshop-wechat/components/wxs/array.wxs

6 lines
112 B
Plaintext
Raw Permalink Normal View History

2020-04-25 22:59:04 +08:00
function isArray(array) {
return array && array.constructor === 'Array';
}
module.exports.isArray = isArray;