HasTag

Syntax

HasTag(Tag)
HasTag(BranchName, Tag)

Description

Get whether the branch has this tag.  BranchName is optional so that, when used with only one parameter, the function determines if the current branch has the specified tag.

Example

HasTag(South)

Evaluated for South City in Weaping River Basin = TRUE
Evaluated for Agriculture West in Weaping River Basin = FALSE

HasTag(\Demand Sites\Industry North, North) = TRUE
HasTag(\Demand Sites\Industry North, South) = FALSE