linwenling
2023-09-25 6f6e804a48c822f339e1974cfe482bc2f60227a3
1
export const isArrayLike = (<T>(x: any): x is ArrayLike<T> => x && typeof x.length === 'number' && typeof x !== 'function');