source: imaps-frontend/node_modules/lodash-es/_isStrictComparable.js@ d565449

main
Last change on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 412 bytes
Line 
1import isObject from './isObject.js';
2
3/**
4 * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.
5 *
6 * @private
7 * @param {*} value The value to check.
8 * @returns {boolean} Returns `true` if `value` if suitable for strict
9 * equality comparisons, else `false`.
10 */
11function isStrictComparable(value) {
12 return value === value && !isObject(value);
13}
14
15export default isStrictComparable;
Note: See TracBrowser for help on using the repository browser.