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

tuulijar / testingcourseET / 19670048999

25 Nov 2025 12:48PM UTC coverage: 0.0% (-62.8%) from 62.805%
19670048999

push

github

web-flow
Merge pull request #12 from tuulijar/issue-6-tests-for-keys.js

Changed tests for keys.js to chai/mocha

0 of 224 branches covered (0.0%)

Branch coverage included in aggregate %.

0 of 201 relevant lines covered (0.0%)

0.0 hits per line

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

0.0
/src/isObjectLike.js
1
/**
2
 * Checks if `value` is object-like. A value is object-like if it's not `null`
3
 * and has a `typeof` result of "object".
4
 *
5
 * @since 4.0.0
6
 * @category Lang
7
 * @param {*} value The value to check.
8
 * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
9
 * @example
10
 *
11
 * isObjectLike({})
12
 * // => true
13
 *
14
 * isObjectLike([1, 2, 3])
15
 * // => true
16
 *
17
 * isObjectLike(Function)
18
 * // => false
19
 *
20
 * isObjectLike(null)
21
 * // => false
22
 */
23
function isObjectLike(value) {
24
  return typeof value === 'object' && value !== null
×
25
}
26

27
export default isObjectLike
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