String
struct String
-
Check if the current string is empty. If the string is empty,
nilis returned, otherwise, the string is returned.Declaration
Swift
public var nonEmptyString: String?
struct String
Check if the current string is empty. If the string is empty, nil is returned, otherwise, the string is returned.
Swift
public var nonEmptyString: String?