@cursorsdottsx/e
v1.1.1
Published
Check if two values are equals with this small module (does not check properties that aren't enumerable)!
Downloads
2
Readme
| a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | y | z |
E is for Equals
@cursorsdottsx/e
Check if two values are equals with this small module (does not check properties that aren't enumerable)!
Available with NPM or Yarn:
npm install @cursorsdottsx/e
yarn add @cursorsdottsx/e
Using it is very simple too. It's simply Object.equals(a, b)
as easy as 1, 2, 3!
require("@cursorsdottsx/e");
import "@cursorsdottsx/e";
Object.equals(oneValue, twoValues); // redValues, blueValues
wArNiNg: ThIs MoDuLe PoLlUtEs GlObAl ScOpE
Object.equals
should return true if two values are in the same in that they have the same enumerable properties. If this is not true for a pair of values, please open an issue.