Answers for "check variable type godot"

0

check variable type godot

p = parse_json('["a", "b", "c"]')
if typeof(p) == TYPE_ARRAY:
    print(p[0]) # Prints a
else:
    print("unexpected results")
Posted by: Guest on March-25-2022

Python Answers by Framework

Browse Popular Code Answers by Language