linwenling
2023-07-24 9e29b042e98ac5016bc0cfc5349b8754144bf3d4
1
export const isArrayLike = (<T>(x: any): x is ArrayLike<T> => x && typeof x.length === 'number' && typeof x !== 'function');