Reference type check
Closed this issue · 1 comments
michaeldorner commented
assert(!(T.self is AnyObject), referenceTypeErrorString)
does not work anymore in Swift 3.
It says
is test is always true
Any suggestions for how to make sure that only value types are converted and no reference types?
michaeldorner commented
Resolved.