if
, elsif
, and else
Tags
Only execute code if a certain condition is met.
Description
if
executes a block of code only if a certain condition is met.
elsif
and else
add more conditions within an if
or
unless
block.
Parameters
None.