hasUndeterminedAttributeReferences method

bool hasUndeterminedAttributeReferences({
  1. required String variableName,
})

True if the script contains ambiguous or undetermined attribute references.

In some Arcade scripts it is difficult to determine which attributes are used. This function returns true in these cases, to indicate that all attributes for the given profile variable may be necessary for successful evaluation.

When this function returns true, the collection of attributes returned by ArcadeEvaluator.getAttributesUsingFeatureTable may not be complete.

When this function returns false, assume that the collection of attributes returned by ArcadeEvaluator.getAttributesUsingFeatureTable is complete.

Parameters:

  • variableName — The name of the profile variable whose used attributes are required.

Return Value: A boolean value indicating whether the collection of attributes returned by ArcadeEvaluator.getAttributesUsingFeatureTable is incomplete.