public static function containsKey(dictionary:Dictionary, key:Object):Boolean
Check whether the given dictionary contains the given key.
Parameters
| dictionary:Dictionary — the dictionary to check for a key
|
| |
| key:Object — the key to look up in the dictionary
|
Returns
| Boolean — true if the dictionary contains the given key, false if not
|
public static function containsValue(dictionary:Dictionary, value:Object):Boolean
Check whether the given dictionary contains the given value.
Parameters
| dictionary:Dictionary — the dictionary to check for a value
|
| |
| value:Object — the value to look up in the dictionary
|
Returns
| Boolean — true if the dictionary contains the given value, false if not
|