Skip to content

번역

이 페이지를 번역하거나 기존 번역을 개선할 수 있습니다.

기여

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

NameDescription
defaultdefault 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

NameDescription
defaultdefault Boolean value to be returned

Released under the MIT License.