• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Agglu / softwaretesting / 19500927678

19 Nov 2025 12:14PM UTC coverage: 0.235%. First build
19500927678

push

github

Aleksanteri Heinonen
import functions to test manually so no more tricky node_modules implementations

0 of 224 branches covered (0.0%)

Branch coverage included in aggregate %.

1 of 201 new or added lines in 43 files covered. (0.5%)

1 of 201 relevant lines covered (0.5%)

0.01 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/isArrayLike.js
1
import isLength from './isLength.js'
2

3
/**
4
 * Checks if `value` is array-like. A value is considered array-like if it's
5
 * not a function and has a `value.length` that's an integer greater than or
6
 * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
7
 *
8
 * @since 4.0.0
9
 * @category Lang
10
 * @param {*} value The value to check.
11
 * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
12
 * @example
13
 *
14
 * isArrayLike([1, 2, 3])
15
 * // => true
16
 *
17
 * isArrayLike(document.body.children)
18
 * // => true
19
 *
20
 * isArrayLike('abc')
21
 * // => true
22
 *
23
 * isArrayLike(Function)
24
 * // => false
25
 */
26
function isArrayLike(value) {
NEW
27
  return value != null && typeof value !== 'function' && isLength(value.length)
×
28
}
29

30
export default isArrayLike
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc