• 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/isObject.js
1
/**
2
 * Checks if `value` is the
3
 * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
4
 * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
5
 *
6
 * @since 0.1.0
7
 * @category Lang
8
 * @param {*} value The value to check.
9
 * @returns {boolean} Returns `true` if `value` is an object, else `false`.
10
 * @example
11
 *
12
 * isObject({})
13
 * // => true
14
 *
15
 * isObject([1, 2, 3])
16
 * // => true
17
 *
18
 * isObject(Function)
19
 * // => true
20
 *
21
 * isObject(null)
22
 * // => false
23
 */
24
function isObject(value) {
NEW
25
  const type = typeof value
×
NEW
26
  return value != null && (type === 'object' || type === 'function')
×
27
}
28

29
export default isObject
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