eq | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Function eq

    • Verify deep equality of two values (to compare object identity, you need to use assert with ===)

      Type Parameters

      • T

      Parameters

      • expected: NoInfer<RecursiveTestable<T>>

        The expected value

      • actual: T

        The actual value

      • Optionalannotation: Annotation

      Returns void

      T - The type of the values (both values are expected to be of the same type). This type is only inferred from the 'actual' parameter.

      If the values are not equal