Skip to content

Interface: SwitchCases

Properties

PropertyTypeDescription
isSchemaLike_2the required condition joi type.
thenSchemaLike_2the alternative schema type if the condition is true.