Is there a way to differentiate Swift types and C types at runtime?

There is the unofficial _isPOD(_:) function you can use. As with all underscore APIs from swift this function might change or go away at any time.

1 Like