# is-equal **Repository Path**: mirrors_fis-components/is-equal ## Basic Information - **Project Name**: is-equal - **Description**: Fork from https://github.com/ljharb/is-equal.git - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-11-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #is-equal [![Version Badge][2]][1] [![Build Status][3]][4] [![dependency status][5]][6] [![dev dependency status][7]][8] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url] [![npm badge][11]][1] [![browser support][9]][10] Are these two values conceptually equal? ## Example ```js var isEqual = require('is-equal'); var assert = require('assert'); var primitives = [true, false, undefined, 42, 'foo']; primitives.forEach(function (primitive) { assert.equal(isEqual(primitive, primitive), true); }); assert.equal(isEqual(/a/g, /a/g)); assert.equal(isEqual(/a/g, new RegExp('a', 'g'))); assert.equal(isEqual({ a: 2 }, { a: 2 }), true); assert.equal(isEqual([1, [2, 3], 4], [1, [2, 3], 4]), true); var timestamp = Date.now(); assert.equal(isEqual(new Date(timestamp), new Date(timestamp)), true); ``` ## Tests Simply clone the repo, `npm install`, and run `npm test` [1]: https://npmjs.org/package/is-equal [2]: http://versionbadg.es/ljharb/is-equal.svg [3]: https://travis-ci.org/ljharb/is-equal.svg [4]: https://travis-ci.org/ljharb/is-equal [5]: https://david-dm.org/ljharb/is-equal.svg [6]: https://david-dm.org/ljharb/is-equal [7]: https://david-dm.org/ljharb/is-equal/dev-status.svg [8]: https://david-dm.org/ljharb/is-equal#info=devDependencies [9]: https://ci.testling.com/ljharb/is-equal.png [10]: https://ci.testling.com/ljharb/is-equal [11]: https://nodei.co/npm/is-equal.png?downloads=true&stars=true [license-image]: http://img.shields.io/npm/l/is-equal.svg [license-url]: LICENSE [downloads-image]: http://img.shields.io/npm/dm/is-equal.svg [downloads-url]: http://npm-stat.com/charts.html?package=is-equal