UtilityCategoryComparison.withName constructor

UtilityCategoryComparison.withName(
  1. String categoryName, {
  2. required UtilityCategoryComparisonOperator comparisonOperator,
})

Creates a condition evaluating whether a category with this name exists on a feature.

Parameters:

  • categoryName — The name of the category to evaluate as part of the condition.
  • comparisonOperator — The type of comparison to do between the category name and each feature in the trace.