oneOf

fun oneOf(vararg requirements: Requirement): Requirement

Creates a new Requirement that specifies that one the requirements in requirements must be fulfilled.

Return

a new combined Requirement that is fulfilled if one of its sub-requirements are fulfilled.

Parameters

requirements

the requirements to chose from.