Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Check type of a variable - Modular
M
Modular
•
2y ago
•
3 replies
Arvin_David
Check type of a variable
Hi folks
At the moment
, while the builtin type function is not implemented yet
, What
's the best way to identify if a variable is a string
, an int or another type
?
Modular
Join
This server is the home of the MAX and Mojo community! Join us to chat about all things Modular.
20,199
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Printing the type of a variable in Mojo
M
Modular / questions
3y ago
Is there a way in Mojo to know the type of a variable/object ?
M
Modular / questions
15mo ago
Assigning slice of a tensor to a variable?
M
Modular / questions
2y ago
scope of iteration variable
M
Modular / questions
3y ago