An array of control branch documents. Each branch is a document with the following fields:
The path to take if no branch case expression evaluates to true.
Although optional, if default is unspecified and no branch case evaluates to true, $switch returns an error.
Generated using TypeDoc
Evaluates a series of case expressions. When it finds an expression which evaluates to true, $switch executes a specified expression and breaks out of the control flow.