• Retrieves the rule type using a campaign ID from a specific feature.

    Parameters

    • feature: FeatureModel

      The feature containing rules.

    • campaignId: number

      The campaign ID to find the rule type for.

    Returns string

    The rule type if found, otherwise an empty string.