source: trip-planner-front/node_modules/lodash/_isStrictComparable.js@ 188ee53

Last change on this file since 188ee53 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 414 bytes
Line 
1var isObject = require('./isObject');
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
15module.exports = isStrictComparable;
Note: See TracBrowser for help on using the repository browser.