• Creates an expression that evaluates whether the two given expression evaluate to close values, given some threshold. To be used with floating point numbers, depending on the context.

    Parameters

    • a: Expression<number>

      The first expression to evaluate.

    • b: Expression<number>

      The second expression to evaluate.

    • threshold: Expression<number>

      The Expression describing the maximum threshold before considering both values too far from each other.

    Returns Expression<boolean>

    An expression that evaluates to true if the two expressions evaluate to close values, given the maximum threshold.

    Since

    2020.0