HasTag

True if the named node carries the given tag. The membership test for node-tag relationships.

Category: Graph Returns: bool

Signature

HasTag(nodeId, tagId)

The first argument is a node ID (node_intro); the second is a tag ID (tag_secret). Returns true when that node has the tag attached.

Examples

HasTag(node_secret, tag_revealed)       // true if the secret node is tagged
HasTag(node_choice, tag_hint)           // gate a hint on a tagged choice
!HasTag(node_warning, tag_once)         // show warnings on nodes without the tag

For arguments: use the ID, not the UUID; see Expressions.

Docs last synced: 2026-07-08
Screenshot viewer