is_pinned_in_loop

NAML documentation   Watch a video
   Usages of this macro
... in app.naml
500
501
502
503
504
505
506
507
508
509
<macro name="is_pinned_in_loop" requires="node,node_list">
    <n.both
Binary
Namespace: BasicNamespace
Parameters: condition1, condition2
>
        <condition1>
            <n.is_pinned
Binary
Namespace: NodeNamespace
/>
        </condition1>
        <condition2>
            <n.parent_node
Binary
Namespace: NodeNamespace
Parameters: do
.equals
Binary
Namespace: NodeNamespace
Parameters: node
.loop_node
Binary
Namespace: NodeList
Parameters: do
/>
        </condition2>
    </n.both>
</macro>