Group

public struct Group : ExpressibleByStringLiteral, Hashable

A validation group is used to group constraints and apply validation based on validation groups provided by Validator.

  • A default validation group.

    Declaration

    Swift

    public static let `default`: Group
  • A name for a validation group.

    Declaration

    Swift

    public let name: String
  • See ExpressibleByStringLiteral.

    Declaration

    Swift

    public init(stringLiteral name: String)