linwenling
2023-05-27 46723f74c8152fae880917d273b960900bd8508a
1
export const isArrayLike = (<T>(x: any): x is ArrayLike<T> => x && typeof x.length === 'number' && typeof x !== 'function');