forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 20
class_dictionary
reduz edited this page Feb 23, 2014
·
9 revisions
Category: Built-In Types\
Dictionary type.
- void #clear(****)
- bool #empty(****)
- void #erase( var value )
- bool #has( var value )
- int #hash(****)
- Array #keys(****)
- int #parse_json( String json )
- int #size(****)
- String #to_json(****)
Dictionary type. Associative container which contains values referenced by unique keys. Dictionaries are always passed by reference.
== clear ==
- void #clear(****) \ Clear the dictionary, removing all key/value pairs. == empty ==
- bool #empty(****) \ Return true if the dictionary is empty. == erase ==
- void #erase( var value ) \ Erase a dictionary key/value pair by key. == has ==
- bool #has( var value ) \ Return true if the dictionary has a given key. == hash ==
- int #hash(****) \ Return a hashed integer value representing the dictionary contents. == keys ==
- Array #keys(****) \ Return the list of keys in the dictionary. == size ==
- int #size(****) \ Return the size of the dictionary (in pairs).