SonarJS linter helper functions
Preparing search index...
collectIfBranches
Function collectIfBranches
collectIfBranches
(
node
:
IfStatement
,
)
:
{
branches
:
Statement
[]
;
endsWithElse
:
boolean
}
Returns a list of statements corresponding to a
if - else if - else
chain
Parameters
node
:
IfStatement
Returns
{
branches
:
Statement
[]
;
endsWithElse
:
boolean
}
Settings
Theme
OS
Light
Dark
ESlint dev guide
SonarJS linter helper functions
Loading...
Returns a list of statements corresponding to a
if - else if - else
chain