requireIfAllPresent

open override fun requireIfAllPresent(vararg refs: KProperty<*>): OptionSetBuilder<T>(source)

Makes this set option required if all of the referenced options are present. This creates a conditional requirement where providing all of the trigger options makes this option mandatory.

Return

This builder for method chaining

Parameters

refs

Property references to options that trigger this requirement