Module

x/lodash_es/src/lang.js>eq

lodash for deno use
Latest
function eq
import { eq } from "https://dotland.deno.dev/x/lodash_es@v0.0.2/src/lang.js";

Performs a SameValueZero comparison between two values to determine if they are equivalent.

Examples

var object = { 'a': 1 }; var other = { 'a': 1 };

_.eq(object, object); // => true

_.eq(object, other); // => false

_.eq('a', 'a'); // => true

_.eq('a', Object('a')); // => false

_.eq(NaN, NaN); // => true

Parameters

value

The value to compare.

other

The other value to compare.