Function cmp
- cmp(
lhs: TestComparableType,
operator: "<" | "<=" | "==" | ">" | ">=",
rhs: TestComparableType,
options?: string | TestOptions,
): voidParameters
- 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
- lhs: TestComparableType
Compare two values using the given operator.