Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • WhenOptions

Index

Properties

Optional break

0.0.46 provide
break: boolean

whether to stop applying further conditions if the condition is true.

Optional is

0.0.46 provide

the required condition joi type.

Optional not

0.0.46 provide

the negative version of is (then and otherwise have reverse roles).

Optional otherwise

0.0.46 provide

the alternative schema type if the condition is false. Required if then or switch are missing.

Optional switch

0.0.46 provide

the list of cases. Required if then is missing. Required if then or otherwise are missing.

Optional then

0.0.46 provide

the alternative schema type if the condition is true. Required if otherwise or switch are missing.