mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Document Variant not being nullable
This commit is contained in:
committed by
Max Hilbrunner
parent
c86adb0bda
commit
b5e097d435
@@ -684,6 +684,11 @@ null
|
||||
``null`` is an empty data type that contains no information and can not
|
||||
be assigned any other value.
|
||||
|
||||
Only types that inherit from Object can have a ``null`` value
|
||||
(Object is therefore called a "nullable" type).
|
||||
:ref:`Variant types <doc_variant_class>` must have a valid value at all times,
|
||||
and therefore cannot have a ``null`` value.
|
||||
|
||||
:ref:`bool <class_bool>`
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user