mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Change match typeof() example from REAL to FLOAT in GDScript reference (#6384)
TYPE_REAL no longer exists, changed to TYPE_FLOAT
This commit is contained in:
@@ -1210,7 +1210,7 @@ There are 6 pattern types:
|
||||
Matches the contents of a variable/enum::
|
||||
|
||||
match typeof(x):
|
||||
TYPE_REAL:
|
||||
TYPE_FLOAT:
|
||||
print("float")
|
||||
TYPE_STRING:
|
||||
print("text")
|
||||
|
||||
Reference in New Issue
Block a user