bitbybit.dev v1.0.0-rc.1
    Preparing search index...

    Class GroupListDto<T>

    Type Parameters

    • T
    Index

    Constructors

    Properties

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionallist: T[]
      • OptionalnrElements: number
      • OptionalkeepRemainder: boolean

      Returns GroupListDto<T>

    Properties

    list: T[]

    The list of elements to group together

    undefined
    
    nrElements: number

    The number of elements in each group

    2
    

    1

    Infinity

    1

    keepRemainder: boolean

    If true, the remainder of the list will be added as a separate group

    false