EXTENSION
Environment.Value?
swift
extension Environment.Value?
Methods
getString(default:)
swift
public func getString(default defaultString: String) -> String
Retrieve the Environment value as a string or return the specified default string value
- Parameters:
- default: default String value to be returned
- Returns: String
Parameters
Name | Description |
---|---|
default | default String value to be returned |
getBoolean(default:)
swift
public func getBoolean(default defaultBoolean: Bool) -> Bool
Retrieve the Environment value as a boolean or return the specified default boolean value
- Parameters:
- default: default Boolean value to be returned
- Returns: Bool
Parameters
Name | Description |
---|---|
default | default Boolean value to be returned |