Min Array
This node finds the minimum value in an array of numbers or strings.
The Min Array node can find the smallest numeric value or the alphabetically first string in an array, with support for object arrays.
Similar to Max Array but finds the minimum value instead. For numeric arrays, it returns the mathematically smallest number. For string arrays, it returns the alphabetically first string.
| Data | Description |
|---|
| Array | The array to process (numbers, strings, or objects) |
Object Options
| Data | Description |
|---|
| Key Path | Path to extract values from objects (required for object arrays) |
Actions
| Signal | Description |
|---|
| Do | Triggers the minimum calculation |
Outputs
| Data | Description |
|---|
| Minimum | The minimum value found in the array |
| Signal | Description |
|---|
| Done | Triggered when the calculation is complete |
Usage
Example Use Cases
- Data Analytics: Find lowest values, minimum prices, or bottom performance
- Quality Control: Identify minimum acceptable values
- Game Development: Determine lowest damage, minimum level requirements
- Resource Planning: Find minimum available resources
Examples
| Array Type | Example Input | Result |
|---|
| Numbers | [1, 5, 3, 9, 2] | 1 |
| Strings | ["apple", "zebra", "banana"] | "apple" |
| Objects | [{val: 10}, {val: 25}, {val: 5}] | 5 (with Key Path: "val") |