From abe6d6723219b592829fd9ba2a2c78950c83d64e Mon Sep 17 00:00:00 2001 From: Dmitrii Maganov Date: Sun, 22 Jan 2023 11:07:48 +0200 Subject: GDScript: Fix test for read-only state of constants --- doc/classes/Dictionary.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'doc/classes/Dictionary.xml') diff --git a/doc/classes/Dictionary.xml b/doc/classes/Dictionary.xml index 03e5b5d1d8..ea0bcc5cbb 100644 --- a/doc/classes/Dictionary.xml +++ b/doc/classes/Dictionary.xml @@ -271,12 +271,24 @@ Returns [code]true[/code] if the dictionary is empty (its size is [code]0[/code]). See also [method size]. + + + + Returns [code]true[/code] if the dictionary is read-only. See [method make_read_only]. Dictionaries are automatically read-only if declared with [code]const[/code] keyword. + + Returns the list of keys in the dictionary. + + + + Makes the dictionary read-only, i.e. disabled modifying of the dictionary's contents. Does not apply to nested content, e.g. content of nested dicitonaries. + + -- cgit v1.2.3