usesGeometry method

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

True if geometry is used in the script for a given profile variable, false otherwise.

This function returns true in ambiguous cases where it cannot be determined if geometry is used.

Parameters:

  • variableName — The name of the profile variable whose geometry usage is being determined.

Return Value: A boolean value indicating whether geometry is used or not.