beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

Between Op

Ops.Math.Compare.Between


Between
Namespace: Ops.Math.Compare

Op author: pandur

Test Patches: 1 Test

result is true if value is between number1 and number2


Checks if Value is in the range [Range 1, Range 2] and returns true then. Range 1 does not have to be smaller than Range 2. Returns false if Value is equal to Range 1 or Range 2 or if it is completely out of range.



Inputs

value (Number)

The number you want to check

number1 (Number)
number2 (Number)

Outputs

result (Number)

true if Value is in range, false otherwise

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

compare tests

Open Example In Editor

Patches using Between