min

This block is part of the array group and was last modified in core v10.4.28.

min v10.4.28

Returns the lowest number in the given array of numbers.

In pins 1
  • Array required
    array

    The array of numbers for which to find the lowest number.

Out pins 1
  • Number
    number

    The lowest number in the given array of numbers.

Returns the lowest item after coercing to numbers; numeric strings and booleans coerce, and non-coercible items after the first are ignored. Outputs 0 when the array is empty, not an array, or its FIRST item is not numeric-coercible - indistinguishable from a real minimum of 0.

lowest

A typical wiring for min: with numbers feeds the array pin; the number out pin feeds with numbers.

Studio canvas example for the min block: typical wiring for min.

Commonly used with

In production blueprints, this block is most often wired together with:

  • with numbers: wired in both directions with this block. Returns an array of numbers.

Version history

Introduced in v10.4.28.


Back to array Return to the main group to view all sub-groups Back to array Return to the group to view all blocks within this group