requireIfAllPresent

Makes this collection 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