topic_or_app

NAML documentation   Watch a video
   Usages of this macro
... in permissions.naml
139
140
141
142
143
144
145
146
147
<macro name="topic_or_app" requires="node" dot_parameter="do">
    <n.set_local_node
Macro
Parameters: node
.this_node
Binary
Namespace: NodeNamespace
Parameters: do
/>
    <n.block
Binary
Namespace: BasicNamespace
Parameters: do
.>
        <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.local_node
Macro
Parameters: do
.is_post
Binary
Namespace: NodeNamespace
>
            <then.local_node
Macro
Parameters: do
.topic_node
Binary
Namespace: NodeNamespace
Parameters: do
.do/>
            <else.local_node
Macro
Parameters: do
.do/>
        </n.if.local_node.is_post>
    </n.block.>
</macro>