summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-08-08 19:15:25 +0200
committerGitHub <noreply@github.com>2022-08-08 19:15:25 +0200
commit862dedcefee5d22449eca711aa9af33c4377d31a (patch)
tree393a5deeae0cb0445e2eb55a7b8f6a357cf2df1a /doc
parentbc3ab0aaa86e88d12300c3939b23bef0def02105 (diff)
parente47ba810507c15e57429a78b50f7cd8197d09bd0 (diff)
Merge pull request #64076 from raulsntos/doc-fixes
Add `@GDScript.type_exists` documentation, Fix typo in weakref documentation
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/@GlobalScope.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/@GlobalScope.xml b/doc/classes/@GlobalScope.xml
index 658a13d05b..7a75823230 100644
--- a/doc/classes/@GlobalScope.xml
+++ b/doc/classes/@GlobalScope.xml
@@ -1125,7 +1125,7 @@
<return type="Variant" />
<argument index="0" name="obj" type="Variant" />
<description>
- Returns a weak reference to an object, or [code]null[/code] is the argument is invalid.
+ Returns a weak reference to an object, or [code]null[/code] if the argument is invalid.
A weak reference to an object is not enough to keep the object alive: when the only remaining references to a referent are weak references, garbage collection is free to destroy the referent and reuse its memory for something else. However, until the object is actually destroyed the weak reference may return the object even if there are no strong references to it.
</description>
</method>