one_or_many

NAML documentation   Watch a video
   Usages of this macro
... in utilities.naml
745
746
747
748
749
750
751
752
753
754
<macro name="one_or_many" dot_parameter="n" parameters="one_text, many_text">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.equal
Binary
Namespace: BasicNamespace
Parameters: value2, value1
 value1="[n.n/]" value2="1">
        <then>
            1 <n.one_text/>
        </then>
        <else>
            <n.n/> <n.many_text/>
        </else>
    </n.if.equal>
</macro>