AlphanumericConfiguration

public struct AlphanumericConfiguration : Configuration

Stores configuration for AlphanumericCondition.

  • Whether or not to allow Unicode letters and numbers. If false then only ASCII letters (A-Z, a-z, 0-9) are allowed.

    Declaration

    Swift

    public let allowsUnicode: Bool
  • Whether or not to allow whitespace.

    Declaration

    Swift

    public let allowsWhitespace: Bool