EnvironmentStringConvertible
public protocol EnvironmentStringConvertible
A type that can be represented as an environment variable string.
-
init(environmentString:)
Default implementationInstantiates an instance of the conforming type from an environment variable string representation.
Default Implementation
Declaration
Swift
init?(environmentString: String)
Parameters
environmentString
The string representation of the environment variable.
-
environmentString
Default implementationThe environment variable string representation of the conforming type.
Default Implementation
Declaration
Swift
var environmentString: String { get }