forked from ard/ruoyi-api

zhangjian
2023-11-01 83f9b165d1823e9cd59da1be57f5ce99c1caf0d8
1
export const isArrayLike = (<T>(x: any): x is ArrayLike<T> => x && typeof x.length === 'number' && typeof x !== 'function');