Function min

  • Return the minimum value in the array using natural order.

    Parameters

    • iterable: Iterable<string>

    Returns string | undefined

  • Return the minimum value in the array using natural order.

    Type Parameters

    Parameters

    • iterable: Iterable<T>

    Returns T | undefined

  • Return the minimum value in the array using natural order.

    Type Parameters

    • T

    Parameters

    • iterable: Iterable<T>
    • accessor: ((datum, index, array) => string)
        • (datum, index, array): string
        • Parameters

          • datum: T
          • index: number
          • array: Iterable<T>

          Returns string

    Returns string | undefined

  • Return the minimum value in the array using natural order.

    Type Parameters

    Parameters

    • iterable: Iterable<T>
    • accessor: ((datum, index, array) => U)
        • (datum, index, array): U
        • Parameters

          • datum: T
          • index: number
          • array: Iterable<T>

          Returns U

    Returns U | undefined