Min¶
Name | Mandatory | Description | Default | Type |
---|---|---|---|---|
⬅️ Input |
The first value to compare with. | Int Int2 Int3 Int4 Int8 Int16 Float Float2 Float3 Float4 Color [Any] |
||
Output ➡️ |
The smaller value between the input and the operand. | Int Int2 Int3 Int4 Int8 Int16 Float Float2 Float3 Float4 Color [Any] |
||
Operand |
No | The operand for this operation. | 0 |
Int Var(Int) Int2 Var(Int2) Int3 Var(Int3) Int4 Var(Int4) Int8 Var(Int8) Int16 Var(Int16) Float Var(Float) Float2 Var(Float2) Float3 Var(Float3) Float4 Var(Float4) Color Var(Color) [Any] Var([Any]) |
This shard compares the input with the value specified in the Operand
parameter and outputs the smaller value.
Details¶
This shard compares the input to its :Operand
parameter and outputs the lesser of the two values.
If the input is a sequence and the :Operand
a single number, each input element is compared with the :Operand
and the lesser value from each comparison is collected and output as a sequence.
If the input and :Operand
both are sequences, each element of the input sequence is compared with the corresponding-index element in the :Operand
sequence and the lesser value from each comparison is collected and output as a sequence.
If the input sequence is smaller in size than the :Operand
sequence the comparison stops with the last element of the input sequence. If the :Operand
sequence is smaller the remaining input sequence elements loop over the :Operand
sequence till all input sequence elements have been compared.
This shard works only on numbers (integers, floats) and on sequences of such numbers. The data types of the input and the :Operand
parameters must match.
See also