to_null_if

NAML documentation   Watch a video
Error Found
An error was found in the NAML code of this application – View Details | Go to NAML Editor
tag 'mailing_list_etiquette' is not an allowed here, only these are allowed: [bottom, page_name, focus]
  in new_post(custom_tweak:reply:2) - <n.new_post>
  in (custom_tweak:reply:1) - <override_macro name="reply" requires="servlet">
   Usages of this macro
... in utilities.naml
344
345
346
347
348
349
<macro name="to_null_if" dot_parameter="value" parameters="equals">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.equal
Binary
Namespace: BasicNamespace
Parameters: value2, value1
 value1="[n.value/]" value2="[n.equals/]">
        <then><n.null
Binary
Namespace: BasicNamespace
/></then>
        <else><n.value/></else>
    </n.if.equal>
</macro>