ICollection#

Interface ICollection

Hierarchy

  • ICollection

Methods

  • Removes all elements from a collection without deleting the collection itself.

    Returns void

  • Creates a copy of a given collection.

    Parameters

    Returns void

  • Applies a callback on all elements of a collection.

    Parameters

    • callback: ((nodeID) => Promise<any>)

      The callback function.

        • (nodeID): Promise<any>
        • Parameters

          • nodeID: number

          Returns Promise<any>

    Returns Promise<any>

  • Applies a callback on all root node elements of a collection.

    Parameters

    • callback: ((nodeID) => Promise<any>)

      The callback function.

        • (nodeID): Promise<any>
        • Parameters

          • nodeID: number

          Returns Promise<any>

    Returns Promise<any>

  • Returns number

    The number of elements inside a collection.


Did you find this page useful? Please give it a rating:
Thank you for rating this page!
Any issues or feedback?
What kind of problem would you like to report?
Please tell us more about what's wrong: