Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

Hierarchy

  • RemoveNthItemDto

Index

Constructors

Properties

Constructors

constructor

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

    • T

    Parameters

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

    Returns RemoveNthItemDto<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 item needs to be removed

default

undefined

nth

nth: number

The nth item to remove

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