Optional

@_frozen
enum Optional<Wrapped> : ExpressibleByNilLiteral
  • If the receiver is non-nil, returns the result of StringProtocol.nonBlankValue.isBlank, otherwise returns `false.

    Declaration

    Swift

    public var isBlank: Bool { get }
  • If the receiver is non-nil, returns the result of StringProtocol.nonEmptyValue, otherwise returns `false.

    Declaration

    Swift

    public var nonEmptyValue: Wrapped? { get }
  • If the receiver is non-nil, returns the result of StringProtocol.nonBlankValue, otherwise returns `false.

    Declaration

    Swift

    public var nonBlankValue: Wrapped? { get }