varargValues

fun <ValueT> NullableOption<ValueT, ValueT>.varargValues(min: Int = 1, max: Int = Int.MAX_VALUE): NullableOption<List<ValueT>, ValueT>

Change this option to take a variable number of values.

You can set the min and max number of values this option requires. By default, min is 1 and max is unlimited.