Variable_IsValue

Checks to see if the parameter value matches the value assigned to a variable of the current object of the Document Hierarchy.

Syntax

bool Variable_IsValue (strParam)

Parameters

  1. The name of the variable with the value you want to compare.
  2. The value you want to match with the variable's value.

Returns

True if the variable's value matches the parameter's value. Otherwise, False.

Level

Any level.

Details

Checks to see if the parameter value matches the value assigned to a variable of the current object of the Document Hierarchy.
Example
Variable_IsValue("Invoice,Yes")

This action returns True if the value of the current Page object's Invoice variable is Yes.