• Finds all groups associated with a feature specified by its key.

    Parameters

    • settings: SettingsModel

      The settings model containing all features and groups.

    • featureKey: string

      The key of the feature to find groups for.

    Returns any[]

    An array of groups associated with the feature.