FxRules
public class FxRules
Undocumented
-
Undocumented
Declaration
Swift
public static func make(_ name: String, _ message: String?, _ valid: @escaping FxFieldValidationFunction ) -> FxValidationRule
-
Undocumented
Declaration
Swift
public static func creditcard(_ message: String? = nil) -> FxValidationRule
-
Undocumented
Declaration
Swift
public static func currency(_ message: String? = nil) -> FxValidationRule
-
Undocumented
Declaration
Swift
public static func cvc(_ message: String? = nil) -> FxValidationRule
-
Undocumented
Declaration
Swift
public static func decimal(_ message: String? = nil) -> FxValidationRule
-
Undocumented
Declaration
Swift
public static func email(_ message: String? = nil) -> FxValidationRule
-
Undocumented
Declaration
Swift
public static func expiresYear2(_ message: String? = nil) -> FxValidationRule
-
Undocumented
Declaration
Swift
public static func expiresYear4(_ message: String? = nil) -> FxValidationRule
-
Undocumented
Declaration
Swift
public static func integer(_ message: String? = nil) -> FxValidationRule
-
Undocumented
Declaration
Swift
public static func luhn(_ message: String? = nil) -> FxValidationRule
-
Undocumented
Declaration
Swift
public static func phone(_ message: String? = nil) -> FxValidationRule
-
Undocumented
Declaration
Swift
public static func ssn(_ message: String? = nil) -> FxValidationRule
-
Undocumented
Declaration
Swift
public static func regex(_ name: String?, _ pattern: String, _ message: String? = nil) -> FxValidationRule
-
Undocumented
Declaration
Swift
public static func zipcode(_ message: String? = nil) -> FxValidationRule
-
Undocumented
Declaration
Swift
public static func zipPlusFour(_ message: String? = nil) -> FxValidationRule