Optional

@_frozen
enum Optional<Wrapped> : ExpressibleByNilLiteral
  • Checks if string is not complete meaning nil or “”

    Note

    • Called on optional string

    Declaration

    Swift

    func isNotComplete() -> Bool!
  • Checks if string is complete meaning not nil or “”

    Note

    • Called on optional string

    Declaration

    Swift

    func isComplete() -> Bool!