Skip to main content
2 of 2
Commonmark migration

else is optional

As it is said on if manual page, else is implicit on if block constructs. So what is

if ... {} else {}

can become

if ... {} {}

as you can see on some of my answers.

sergiol
  • 3.5k
  • 1
  • 15
  • 31