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