Class InheritingDict
A safe and simple inheriting object.
eachLocal (callback, binding)
Defined in packages/container/lib/main.js:105
- callback
- Function
- binding
- Object
Iterate and invoke a callback for each local key-value pair.
get Any
Defined in packages/container/lib/main.js:41
- returns
- Any
Retrieve the value given a key, if the value is present at the current level use it, otherwise walk up the parent hierarchy and try again. If no matching key is found, return undefined.
has (key) Boolean
Defined in packages/container/lib/main.js:82
- key
- String
- returns
- Boolean
Check for the existence of given a key, if the key is present at the current level return true, otherwise walk up the parent hierarchy and try again. If no matching key is found, return false.
remove (key)
Defined in packages/container/lib/main.js:72
- key
- String
Delete the given key
set (key, value)
Defined in packages/container/lib/main.js:61
- key
- String
- value
- Any
Set the given value for the given key, at the current level.