Function range

  • Find smallest and largest entries.

    Type Parameters

    • T

    • U = T

    Parameters

    • x: Set<T>

      a set

    • fc: CompareFunction<T | U> = null

      compare function (a, b)

    • fm: MapFunction<T, T | U> = null

      map function (v, v, x)

    Returns [T, T]

    [min_value, max_value]

Generated using TypeDoc