mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
classref: Sync with latest 4.0-alpha
This commit is contained in:
@@ -388,7 +388,7 @@ Returns ``true`` if the dictionary has all the keys in the given array.
|
||||
|
||||
- :ref:`int<class_int>` **hash** **(** **)** |const|
|
||||
|
||||
Returns a hashed integer value representing the dictionary contents. This can be used to compare dictionaries by value:
|
||||
Returns a hashed 32-bit integer value representing the dictionary contents. This can be used to compare dictionaries by value:
|
||||
|
||||
|
||||
.. tabs::
|
||||
@@ -412,6 +412,8 @@ Returns a hashed integer value representing the dictionary contents. This can be
|
||||
|
||||
\ **Note:** Dictionaries with the same keys/values but in a different order will have a different hash.
|
||||
|
||||
\ **Note:** Dictionaries with equal content will always produce identical hash values. However, the reverse is not true. Returning identical hash values does *not* imply the dictionaries are equal, because different dictionaries can have identical hash values due to hash collisions.
|
||||
|
||||
----
|
||||
|
||||
.. _class_Dictionary_method_is_empty:
|
||||
|
||||
Reference in New Issue
Block a user