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