Method Summary
Public Methods | ||
public |
Remove a specified element from this YMap. |
|
public |
Returns a specified element from this YMap. |
|
public |
Returns a boolean indicating whether the specified key exists or not. |
|
public |
Returns the keys for each element in the YMap Type. |
|
public |
Adds or updates an element with a specified key and value. |
|
public |
Transforms this Shared Type to a JSON object. |
Inherited Summary
From class Type | ||
public |
Compute the path from this type to the specified target. |
|
public |
Observe all events that are created on this type. |
|
public |
observeDeep(f: Function) Observe all events that are created by this type and its children. |
|
public |
Unregister an observer function. |
|
public |
Unregister an observer function. |
Public Methods
public delete(key: encodable) source
Remove a specified element from this YMap.
Params:
Name | Type | Attribute | Description |
key | encodable | The key of the element to remove. |
public get(key: encodable): * source
Returns a specified element from this YMap.
Params:
Name | Type | Attribute | Description |
key | encodable | The key of the element to return. |
Return:
* |
public has(key: encodable): boolean source
Returns a boolean indicating whether the specified key exists or not.
Params:
Name | Type | Attribute | Description |
key | encodable | The key to test. |