@if directive <and its other companions like @else if, @else allows the code to run only if the conditions are met

BY Best Interview Question ON 18 Jan 2019

Example

@if <Boolean expression> {
      <statements>
}