Reputation: 1498
My struct has property named "type". So how can I now call built-in function type(of:) ?
type(of:)
Upvotes: 0
Views: 105
Reputation: 535027
You can say Swift.type(of:whatever).
Swift.type(of:whatever)
Upvotes: 3