UNPKG

es-toolkit

Version:

A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.

8 lines (5 loc) 198 B
import { isLength } from '../../predicate/isLength.mjs'; function isArrayLike(value) { return value != null && typeof value !== 'function' && isLength(value.length); } export { isArrayLike };