Skip to content

isEqual

isEqual<A, B>(a, b, comparisonStrategy?): boolean

Defined in: packages/core/src/object/is-equal.ts:56

Compare two values for equality using the specified strategy or a custom predicate.

A

B

A

The first value to compare

B

The second value to compare

EqualityComparisonStrategy<A, B> = "strict"

The strategy to use for comparison, which can be a well-known strategy or a custom predicate function. Defaults to "strict".

boolean

True if the values are equal, false otherwise