MCPcopy
hub / github.com/lodash/lodash / isStrictComparable

Function isStrictComparable

lodash.js:6488–6490  ·  view source on GitHub ↗

* Checks if `value` is suitable for strict equality comparisons, i.e. `===`. * * @private * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` if suitable for strict * equality comparisons, else `false`.

(value)

Source from the content-addressed store, hash-verified

6486 * equality comparisons, else `false`.
6487 */
6488 function isStrictComparable(value) {
6489 return value === value && !isObject(value);
6490 }
6491
6492 /**
6493 * A specialized version of `matchesProperty` for source values suitable

Callers 2

baseMatchesPropertyFunction · 0.85
getMatchDataFunction · 0.85

Calls 1

isObjectFunction · 0.85

Tested by

no test coverage detected