if

NAML documentation   Watch a video
Calls the "then" block if the 'condition' (dot_parameter) is true. Otherwise, calls the "else" block (if available).

Parameters

condition Condition to be tested dot parameter
else Block for the false case optional
then Block for the true case optional

Requires

basic

Binary Details

public static void nabble.naml.namespaces.BasicNamespace._if(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)

Other Binary Commands in basic

append   catch_exception   command_exists   command_is_binary   command_name   command_source_name   either   encode   equal   exit   gt   hide_null   is_empty   is_in_command   is_null   lt   no_output   nop   not   prepend   random   regex   regex_replace_all   set_var   starts_with   string_list   substring   throw_runtime_exception   trim   use_html_encoder   use_text_encoder   use_url_encoder   var