• Creates an expression that evaluates whether the two given expression do not evaluate to the same value.

    Use this kind of expression as the if-expression in an ifThenElse, as a when-expression in a cases case expression or anywhere an expression that resolves to a boolean is required.

    Type Parameters

    • T extends string | number | boolean | Vector3

    Parameters

    • left: Expression<T>

      The first expression to evaluate.

    • right: Expression<T>

      The second expression to evaluate.

    Returns Expression<boolean>

    An expression that evaluates to false if the two expressions evaluate to the same value.