Optional
@_frozen
enum Optional<Wrapped> : ExpressibleByNilLiteral
-
If the receiver is non-
nil
, returns the result ofStringProtocol.nonBlankValue.isBlank
, otherwise returns `false.Declaration
Swift
public var isBlank: Bool { get }
-
If the receiver is non-
nil
, returns the result ofStringProtocol.nonEmptyValue
, otherwise returns `false.Declaration
Swift
public var nonEmptyValue: Wrapped? { get }
-
If the receiver is non-
nil
, returns the result ofStringProtocol.nonBlankValue
, otherwise returns `false.Declaration
Swift
public var nonBlankValue: Wrapped? { get }