Test Group Hooks

useIgTestGroups()

Returns a list of Test Groups the user is in.

const useIgTestGroup: () => {
    isReady: boolean;
    testGroups: PluginTestGroupType[]
}

useIgTestGroup()

Returns the Test Group for the inputted Experiment.

const useIgTestGroup: (experimentId: string) => {
    isReady: boolean;
    testGroup: PluginTestGroupType | null;
}