Class NestedOrderedSet<T>
Accessors
items
- get items(): T[]
-
Returns T[]
Methods
add
- add(item: T, opt_index?: number): void
-
Parameters
-
item: T
-
Optional
opt_index: number
Returns void
allItems
- allItems(): T[]
-
Returns T[]
find
- find(callback: ((item: T) => boolean)): null | T
-
Parameters
-
callback: ((item: T) => boolean)
-
- (item: T): boolean
-
Returns boolean
Returns null | T
includes
- includes(item: T): boolean
-
Returns boolean
remove
- remove(item: T): void
-
Returns void