Documentation Language: Swift

Method

cast(expression:from:)

Cast from one type reference to another

func cast(expression e: String, from source: TypeReference) -> String

Parameters

e

The expression to cast

source

The source type reference to cast from

Return Value

The expression cast to the receiver type