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
Not yet, you can bring up hints if you're using the Mojo extension though:
![No description](https://cdn.answeroverflow.com/1154079249695785041/Screenshot_2023-09-20_at_9.38.18_am.png)
@Jack Clayton yes, i have the extension enabled in vscode, I am trying to check the type after a function has returned a value.