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:
FeralBytes
2022-11-14 04:46:40 -09:00
committed by GitHub
parent 263e4d6224
commit fad177f9b0

View File

@@ -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")