requireIfAnyPresent

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

Return

This builder for method chaining

Parameters

refs

Property references to options that trigger this requirement