UNPKG
star-wh
Version:
latest (1.0.0)
1.0.0
star-wh
/
bin
/
node_modules
/
rxjs
/
src
/
internal
/
util
/
isArrayLike.ts
1 lines
•
124 B
text/typescript
View Raw
1
export
const
isArrayLike = (<T>(
x
:
any
): x is
ArrayLike
<T> => x &&
typeof
x.
length
===
'number'
&&
typeof
x !==
'function'
);