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