atMostOneWith

fun atMostOneWith(vararg refs: KProperty<*>): OptionBuilder<T>(source)

Ensures at most one of this option and the specified properties is provided.