Support for coercing basic data types.
Provides:
asInt
, asString
and so onConverter
protocol which can take an Any
object and turn it into a known type using the coercion protocolsasInt:
, asString:
etc, performing coercion where possiblelink |
Stars: 0 |
Last commit: 1 year ago |
Added asBool to the Converter protocol.
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics