You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/classes/Variant.xml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@
11
11
foo = "Now foo is a string!"
12
12
foo = RefCounted.new() # foo is an Object
13
13
var bar: int = 2 # bar is a statically typed integer.
14
-
# bar = "Uh oh! I can't make static variables become a different type!"
14
+
# bar = "Uh oh! I can't make statically typed variables become a different type!"
15
15
[/gdscript]
16
16
[csharp]
17
17
// C# is statically typed. Once a variable has a type it cannot be changed. You can use the `var` keyword to let the compiler infer the type automatically.
@@ -36,7 +36,7 @@
36
36
match typeof(foo):
37
37
TYPE_NIL:
38
38
print("foo is null")
39
-
TYPE_INTEGER:
39
+
TYPE_INT:
40
40
print("foo is an integer")
41
41
TYPE_OBJECT:
42
42
# Note that Objects are their own special category.
0 commit comments