Bitbybit Docs
    Preparing search index...

    Class RemoveItemAtIndexDto<T> (Inputs.Lists)

    A list and a position for lists.removeItemAtIndex and lists.removeItemAtIndexFromEnd.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionallist: T[]
      • Optionalindex: number
      • Optionalclone: boolean

      Returns RemoveItemAtIndexDto<T>

    Properties

    list: T[]

    The list to take the item out of.

    undefined
    
    index: number

    The position to remove, counting from 0 at the start, or from 0 at the end for the from-end method; outside the list nothing is removed.

    0
    

    0

    Infinity

    1

    clone?: boolean

    When true, the list is deep-copied first so the input is never changed; when false the item is removed in place.

    true