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 Clayton14mo ago
Not yet, you can bring up hints if you're using the Mojo extension though:
No description
roopesh puthalath
roopesh puthalathOP14mo ago
@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