morphir-elm
Version:
Elm bindings for Morphir
9 lines (8 loc) • 413 B
TypeScript
/**
* Compares values of all types, including Function, RegExp, Date, Set, Map, null, undefined, and NaN values.
* Complex values (eg, Objects, Arrays, Sets, Maps, etc) are traversed recursively.
* @param a The first value to compare.
* @param b The second value to compare.
* @returns A boolean indicating whether the two values are equal.
*/
export declare function equal<A>(a: A, b: A): boolean;