forked from ard/ruoyi-api

zhangjianrock@163.com
2024-01-13 1e6372b5a57ddcd11e6a85b472aa7dd545fb143f
1
export const isArrayLike = (<T>(x: any): x is ArrayLike<T> => x && typeof x.length === 'number' && typeof x !== 'function');