Checking whether a type is built-in #42
Answered
by
Azoy
NSExceptional
asked this question in
Q&A
-
Is it possible to check whether a type is a built-in type without comparing it to each |
Beta Was this translation helpful? Give feedback.
Answered by
Azoy
Apr 26, 2021
Replies: 1 comment
-
You can check if the type is |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
NSExceptional
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can check if the type is
OpaqueMetadata
because those are the only ones who are opaque as of now.isPOD
means "plain old datatype" so I believe things like structs, enums, and tuples, etc.