liusuyi
2024-07-26 38f4107cbe3cbb066f77365b16af96f5b7650bd8
1
export const isArrayLike = (<T>(x: any): x is ArrayLike<T> => x && typeof x.length === 'number' && typeof x !== 'function');