From d5df25fdc63dfb1f867e0c784b33138a813ca461 Mon Sep 17 00:00:00 2001 From: Thaddeus Crews Date: Mon, 8 Dec 2025 11:40:48 -0600 Subject: [PATCH] Changed `typeof()` example to include `typeof()` Co-Authored-By: Leftyluupy <99181178+leftyluupy@users.noreply.github.com> --- doc/classes/@GlobalScope.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes/@GlobalScope.xml b/doc/classes/@GlobalScope.xml index 301e549813a..eb211058840 100644 --- a/doc/classes/@GlobalScope.xml +++ b/doc/classes/@GlobalScope.xml @@ -1428,7 +1428,7 @@ var json = JSON.new() json.parse('["a", "b", "c"]') var result = json.get_data() - if result is Array: + if typeof(result) == TYPE_ARRAY: print(result[0]) # Prints "a" else: print("Unexpected result!")