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