$k. SemanticCollection

new SemanticCollection()

A collection of topics

Extends

Methods

addElement()

Adds the element to the collection

Since
  • 5.3.3

elements() → {Array.<$k.SemanticElement>}

Returns the elements of the collection

Returns:
Type: 
Array.<$k.SemanticElement>

id() → {string}

Returns the registered ID, or undefined if not registered.

Inherited From
Returns:
Type: 
string

name() → {string}

Returns the name

Returns:
Type: 
string

parentFolders() → {Array.<$k.Folder>}

Returns the folders that contain this element

Returns:
Type: 
Array.<$k.Folder>

registryType() → {string}

Returns the name of the registry that contains elements of this type

Returns:
Type: 
string

removeAll()

Removes all elements from the collection

Since
  • 5.3.3

removeElement()

Removes the element from the collection

Since
  • 5.3.3