Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 644 Bytes

RR0196.md

File metadata and controls

43 lines (33 loc) · 644 Bytes

Merge if with parent if

Property Value
Id RR0196
Title Merge if with parent if
Syntax if statement
Span if keyword
Enabled by Default

Usage

Before

if (x)
{
    if (y)
    {
    }
}
else
{
}

After

if (x && y)
{
}
else
{
}

See Also

(Generated with DotMarkdown)