[swift-dev] metatype of Int

Rafkind, Jon jon.rafkind at hpe.com
Fri Dec 18 13:16:47 CST 2015


Given a swift::MetaType how can I tell if it corresponds to the MetaType of the standard Int type? Is there a way to get a reference to the MetaType from the StdlibModule or TheBuiltinModule?

For now I can convert the MetaType to a string and compare it to "Int.Type" but that is yucky.

--


More information about the swift-dev mailing list