StringValueConvertible
public protocol StringValueConvertible
This protocol specifies that the types using it should be able to convert their forms into a String format.
-
Returns String or nil if the conversion isn’t possible.
Declaration
Swift
var stringValue: String? { get } -
Returns String or empty string if conversion isn’t possible.
Declaration
Swift
var stringValueOrDefault: String { get }
Install in Dash
StringValueConvertible Protocol Reference