Inspired by what you said, you can look up the unicode-defined math class for a symbol - using package unichar – Typst Universe - but Typst can change its class of certain symbols anyway, so that will not be completely accurate.
Inspired by what you said, you can look up the unicode-defined math class for a symbol - using package unichar – Typst Universe - but Typst can change its class of certain symbols anyway, so that will not be completely accurate.