Documentation Language: Swift

Method

castToTarget(from:)

Swift code for converting to the target type using as.

override func castToTarget(from expression: String) -> String

Parameters

expression

An expression of source type to cast to the target type