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

    Function cmp

    • Compare two values using the given operator.

      Parameters

      • lhs: TestComparableType

        The left-hand side value

      • operator: "<" | "<=" | "==" | ">" | ">="

        The comparison operator to use ("<", "<=", "==", ">", ">=")

      • rhs: TestComparableType

        The right-hand side value

      • Optionaloptions: string | TestOptions

      Returns void

      If either parameter is null or undefined, if the comparison fails or if the types of lhs and rhs are not comparable