Library API
    Preparing search index...

    Function isEqual

    • Performs a deep comparison between two values to determine if they are equivalent. Supports primitives, arrays, maps, sets, and plain objects.

      Parameters

      • a: any

        The first value to compare

      • b: any

        The second value to compare

      Returns boolean

      True if the values are deeply equal

      isEqual({ a: 1 }, { a: 1 }); // true