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

    Class SortDto<T>

    Type Parameters

    • T
    Index

    Constructors

    Properties

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionallist: T[]
      • Optionalclone: boolean
      • OptionalorderAsc: boolean

      Returns SortDto<T>

    Properties

    list: T[]

    The list to interrogate

    undefined
    
    clone?: boolean

    Tries to make structured clone of the incoming list data in the component, sometimes it may not be possible due to circular structures or other types of error

    true
    
    orderAsc: boolean

    If true, the list will be sorted in ascending order, otherwise in descending order

    true