String
public extension String
extension String: Error
-
Returns nil if string is empty
Declaration
Swift
var nilIfEmpty: String? { get }
-
Returns nil if string is empty or contains
_
characterDeclaration
Swift
var nilIfNotValidParameterName: String? { get }