Skip to content

Interface: SwitchCases

Properties

PropertyTypeDescription
isSchemaLikethe required condition joi type.
thenSchemaLikethe alternative schema type if the condition is true.