Bitbybit Docs
    Preparing search index...

    Class RepeatInPatternDto<T> (Inputs.Lists)

    A pattern and a length for lists.repeatInPattern, which repeats the pattern until the list is that long.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    Constructors

    Properties

    list: T[]

    The items to repeat, in order.

    undefined
    
    clone?: boolean

    When true, the pattern is deep-copied first so the input is never changed. Data with circular references cannot be copied and throws.

    true
    
    lengthLimit: number

    The length of the result; the pattern is cut off there.

    100
    

    1

    Infinity

    1