novx
    Preparing search index...

    Function equals

    • Determines if two objects or two values are equivalent.

      Two objects or values are considered equivalent if at least one of the following is true:

      • Both objects or values pass === comparison.
      • Both objects or values are of the same type and all of their properties are equal by comparing them with equals.

      Parameters

      • o1: any

        Object or value to compare.

      • o2: any

        Object or value to compare.

      Returns boolean

      true if arguments are equal.