mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Update format
Used code-block format for "null" keyword. Co-authored-by: Danil Alexeev <dalexeev12@yandex.ru>
This commit is contained in:
@@ -1053,7 +1053,7 @@ that type will be used to infer the type of the var.
|
||||
|
||||
.. note::
|
||||
|
||||
This option is considered more :ref:`type-safe<doc_gdscript_static_typing_safe_lines>` than type hints, but also less null-safe as it silently casts the variable to null in case of a type mismatch at runtime, without an error/warning.
|
||||
This option is considered more :ref:`type-safe<doc_gdscript_static_typing_safe_lines>` than type hints, but also less null-safe as it silently casts the variable to ``null`` in case of a type mismatch at runtime, without an error/warning.
|
||||
|
||||
**Bad**:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user