Optional

extension Optional where Wrapped: CustomStringConvertible

Available where Wrapped: CustomStringConvertible

  • A Boolean value indicating whether an optional string has no characters.

    Declaration

    Swift

    public var isEmpty: Bool { get }