Bitbybit Docs
    Preparing search index...

    Class ListCloneDto<T> (Inputs.Lists)

    A list for the methods that read or reshape it whole: lists.reverse, lists.shuffle, lists.flipLists, lists.getFirstItem and the others.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionallist: T[]
      • Optionalclone: boolean

      Returns ListCloneDto<T>

    Properties

    list: T[]

    The list to work on.

    undefined
    
    clone?: boolean

    When true, the list is deep-copied first so the input is never changed; when false the modifying methods work in place. Circular data cannot be copied and throws.

    true