NotBlankConstraint
public struct NotBlankConstraint : Constraint
A constraint to validate if a value is not blank.
-
A default error message to show if no custom error message is provided.
Declaration
Swift
public static let message: String
-
A custom error message.
Declaration
Swift
public let message: String
-
See
Constraint
.Declaration
Swift
public let groups: Set<Group>
-
A validator named
NotBlankValidator
to validate a value.Declaration
Swift
public let validator: ConstraintValidator