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