@corefunc/corefunc
    Preparing search index...

    Function arrayGetAt

    • Type Parameters

      • T
      • E

      Parameters

      • array: T[]
      • index: number
      • OptionalonFail: E

      Returns T | E

      arrayGetAt

      Get the value at the index of an array. Supports negative index.

      arrayGetAt(["🍌", "🍏", "🍇", "🍊"], -2) ➜ "🍇"
      

      0.0.96