forked from ard/ruoyi-api

liusuyi
2024-07-12 49bedcce2ac42fa34da012ee3fc8e9230886064a
1
export const isArrayLike = (<T>(x: any): x is ArrayLike<T> => x && typeof x.length === 'number' && typeof x !== 'function');