GroupSequence

public struct GroupSequence : ExpressibleByArrayLiteral

Validates values against constraints on Groups step by step and raises constraint violations for one Group at a time.

  • An array of Group‘s.

    Declaration

    Swift

    public let groups: [Group]
  • Initializes a new instance with an array of Groups.

    Declaration

    Swift

    public init(_ groups: [Group])

    Parameters

    groups

    An array of Groups.

  • Initializes a new instance with an array of Group names.

    Declaration

    Swift

    public init(_ groupNames: [String])

    Parameters

    groupNames

    An array of Group names.

  • See ExpressibleByArrayLiteral.

    Declaration

    Swift

    public init(arrayLiteral groups: Group...)