if

.if condition:{Boolean} body:{Lambda} -> Any

Return

the evaluation of body if condition is true, nothing otherwise

Parameters

condition

whether the content should be added to the document

body

content to append if condition is verified. Accepts 0 parameters.

Wiki page

Conditional statements