@pleisto/active-support
    Preparing search index...

    Function initial

    • ES Version of lodash.initial Gets all but the last element of array.

      Type Parameters

      • T

      Parameters

      • arr: T[]

        The array to query.

      Returns T[]

      Returns the slice of array.