String
extension 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? { get }
Install in Dash
String Extension Reference