ProtoFlux:Is Between: Difference between revisions

From Resonite Wiki
Added flux node and rudimentary explanations.
 
cleanup, style, link
 
Line 14: Line 14:
|}}
|}}


The <code>Is Between</code> node determines whether the Value input is between the Min and Max value.
The '''Is Between''' node determines whether a number lies between two other numbers, inclusive, on the real number line.


== Inputs ==
== Inputs ==


=== Value (Pseudo-generic) ===  
=== Value (Pseudo-generic) ===
The number to evaluate.


The value to evaluate.
=== Min (Pseudo-generic) ===
The min to compare <code>Value</code> to.


=== Min (Pseudo-generic) ===
=== Max (Pseudo-generic) ===
 
The max to compare <code>Value</code> to.
The min to compare the value to.
 
=== Max (Pseudo-generic) ===  
 
The max to compare the value to.


== Outputs ==
== Outputs ==


=== * ([[Type:Bool|Bool]]) ===
=== * ([[Type:Bool|Bool]]) ===
<code>True</code> if <code>Value</code> resides between <code>Min</code> and </code>Max</code> on the real number line, inclusive. <code>False</code> otherwise.


Returns the result.
== See Also ==
* [[ProtoFlux:Value Clamp]], which clamps a value to <code>Min</code> or <code>Max</code> if it lies outside of the range.


[[Category:ProtoFlux:Math]]
[[Category:ProtoFlux:Math]]

Latest revision as of 18:29, 7 July 2024

Is Between
Value
*
Min
Max
Math

The Is Between node determines whether a number lies between two other numbers, inclusive, on the real number line.

Inputs

Value (Pseudo-generic)

The number to evaluate.

Min (Pseudo-generic)

The min to compare Value to.

Max (Pseudo-generic)

The max to compare Value to.

Outputs

* (Bool)

True if Value resides between Min and Max on the real number line, inclusive. False otherwise.

See Also