linwenling
2023-10-10 08edc4d82e318d6e498e0bb2f5d6c61c957fb1e1
1
export const isArrayLike = (<T>(x: any): x is ArrayLike<T> => x && typeof x.length === 'number' && typeof x !== 'function');