AlphaNumericRule

public class AlphaNumericRule : CharacterSetRule

AlphaNumericRule is a subclass of CharacterSetRule. It is used to verify that a field has a valid list of alphanumeric characters.

  • Initializes a AlphaNumericRule object to verify that field has valid set of alphanumeric characters.

    Declaration

    Swift

    public init(message: String = "is not alphanumeric.")

    Return Value

    An initialized object.