Bitbybit Docs
    Preparing search index...

    Class SubListDto<T> (Inputs.Lists)

    A list and a range of positions for lists.getSubList.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionallist: T[]
      • OptionalindexStart: number
      • OptionalindexEnd: number
      • Optionalclone: boolean

      Returns SubListDto<T>

    Properties

    list: T[]

    The list to cut from.

    undefined
    
    indexStart: number

    Position of the first item to take, counting from 0.

    0
    

    0

    Infinity

    1

    indexEnd: number

    Position just after the last item to take; it is not included.

    1
    

    0

    Infinity

    1

    clone?: boolean

    When true, the items are deep-copied so the caller cannot change the list through them; an item that cannot be copied throws.

    true