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