Printing the type of a variable in Mojo

is there a way to print the variable type in mojo? var state = open_file_explorer() print(type(state))
2 Replies
Jack Clayton
Jack Clayton12mo ago
Not yet, you can bring up hints if you're using the Mojo extension though:
No description
roopesh puthalath
@Jack Clayton yes, i have the extension enabled in vscode, I am trying to check the type after a function has returned a value.
Want results from more Discord servers?
Add your server