Prelude API
    Preparing search index...

    Function at

    • Creates a function that returns the value at the specified index in an iterable.

      Type Parameters

      • T

      Parameters

      • index: number

        The zero-based index of the value to return

      Returns (values: Iterable<T>) => T

      A function that takes an iterable and returns the value at the specified index

      Error if index is negative, not an integer, or out of bounds