Skip to content
FutureBlitz

    Install

    Import std.core.values

    Min

    std.core.values

    function

    Public Function Min<T: Comparable>(a: T, b: T): T

    The smaller of the two, or the first when neither is.

    Examples

    Expect(Min(3, 7) == 3)
    Expect(Min("b", "a") == "a")

    std/core/values.fb, line 30

    Report an issue with this page or with FutureBlitz on GitHub.