Type Utils
    Preparing search index...

    Function removeLastElement

    • A function that removes its last element of an array-like list and

      Type Parameters

      • T extends U[]

        An array-like object type

      • U

        Arbitrary unknown type of the array-like object

      Parameters

      • list: T

        The list to remove the last element of it

      Returns T

      The list without the last element of it