/**
 * Returns true if num1 and num2 have different values and different data types using XOR and is operator.
 *
 * @param num1 The first input number.
 * @param num2 The second input number.
 * @return True if num1 and num2 have different values and different data types, false otherwise.
 */
fun xorIsOperator(num1: Any, num2: Any): Boolean {

    val result = (num1 !== num2) xor (num1::class != num2::class)
    return result
}
/**
 * Returns true if num1 and num2 have different values and different data types using XOR and is operator.
 *
 * @param num1 The first input number.
 * @param num2 The second input number.
 * @return True if num1 and num2 have different values and different data types, false otherwise.
 */
fun xorIsOperator(num1: Any, num2: Any): Boolean {
/**
 * Returns true if num1 and num2 have different values and different data types using XOR and is operator.
 *
 * @param num1 The first input number.
 * @param num2 The second input number.
 * @return True if num1 and num2 have different values and different data types, false otherwise.
 */
fun xorIsOperator(num1: Any, num2: Any): Boolean {

    val result = (num1 !== num2) xor (num1::class != num2::class)
    return result
}