-
Notifications
You must be signed in to change notification settings - Fork 0
Or Statements
Benedict Albrecht edited this page May 20, 2026
·
4 revisions
Or statements allow you to define alternative paths within an object definition.
<| optionA <||> optionB <||> ... |>
A function that can be private, public, or neither:
<:function:> <| private <||> public <||> |> function <<name>> ( ) { <---> } <:>
This matches any of:
private function myFunc ( ) { ... }public function myFunc ( ) { ... }-
function myFunc ( ) { ... }(empty option = optional)
Note: An empty option before the closing
|>means the entire or-block is optional (zero occurrences accepted).
- Getting Started
- Sign-Up
- Home Screen
- Creating Your First Template
- Template Editor
- Application Navigation
- Syntax Overview
- Workflow: End-to-End
- Workflow: Test with simpleDemo
- Workflow: Build Template from angularTemp
- Demo Repositories
- Template
- Workbench
- GitHub Integration
- GitHub App Installation
- GitHub Repository Setup
- GitHub Re-linking
- Settings
- Overview
- Declarations
- Types
- Scoping