ICollection#
Interface ICollection
Hierarchy
- ICollection
Index
Methods
Methods
clear
copy
- copy(other: ICollection): void
-
Creates a copy of a given collection.
Parameters
-
other: ICollection
A ICollection object.
Returns void
-
for Nodes
for Root Nodes
- for
Root Nodes(callback: ((nodeID: number) => Promise<any>)): Promise<any> -
Applies a callback on all root node elements of a collection.
Parameters
-
callback: ((nodeID: number) => Promise<any>)
The callback function.
-
- (nodeID: number): Promise<any>
-
Parameters
-
nodeID: number
Returns Promise<any>
-
-
Returns Promise<any>
-
Removes all elements from a collection without deleting the collection itself.