group

fun Signature.group(vararg parameters: Parameter): ParameterGroup(source)

Create a ParameterGroup which can be added to the Signature.


inline fun group(block: OrderGroup.() -> Unit): <Error class: unknown class>(source)

Add a group containing any valid OrderDsl provided as a lambda

order {
  group {
     - arg1::func1
     many(arg1::func2)
     option {
         - arg1::func2
         - arg1::func3
      }
  }
}

Minimalist way to create a group with a function call. However, this minimalist group constructor only works with OrderTokens

order {
  group(arg1::func1, arg1::func2, arg1::func3)
}