Skip to content

ElseIf()

Synopsis

Start an else if branch.

Description

Start an optional ElseIf branch. Execution will continue inside the branch if expr is true and if previous If and ElseIf branches evaluated to false.

Please note that execution inside a true If branch will fallthrough into ElseIf unless the If segment is terminated with an ExitIf call. This is only necessary with ElseIf but not with Else.

Syntax

ElseIf(expr)
Arguments
  • expr

See Also

Generated Version

This documentation was generated from Asterisk branch 21 using version GIT