plus

operator fun Argument.plus(other: Argument): List<Argument>

Defines the + operator for combining two Argument objects into a List<Argument>.

This is the starting point for creating a fluent, chainable syntax for building argument lists for a moveCall. Once a list is created, Kotlin's standard library plus operator can be used to append additional arguments.

Return

A new List<Argument> containing both arguments.

Parameters

other

The Argument to add to the right-hand side.