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
environmentStringThe string representation of the environment variable.
-
environmentStringDefault implementationThe environment variable string representation of the conforming type.
Default Implementation
Declaration
Swift
var environmentString: String { get }
View on GitHub
EnvironmentStringConvertible Protocol Reference