UNPKG

morphir-elm

Version:
9 lines (8 loc) 413 B
/** * 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;