Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

Hierarchy

  • GetNthItemDto

Index

Constructors

Properties

Constructors

constructor

  • new GetNthItemDto<T>(list?: T[], nth?: number, offset?: number, clone?: boolean): GetNthItemDto<T>
  • Type parameters

    • T

    Parameters

    • Optional list: T[]
    • Optional nth: number
    • Optional offset: number
    • Optional clone: boolean

    Returns GetNthItemDto<T>

Properties

Optional clone

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

default

true

list

list: T[]

The list from which we need to get an item

default

undefined

nth

nth: number

The nth item to get

default

2

minimum

1

maximum

Infinity

step

1

offset

offset: number

The offset from which to start counting

default

0

minimum

0

maximum

Infinity

step

1

Generated using TypeDoc