Home > @eppo/js-client-sdk > EppoJSClient > getBanditAction
Signature:
getBanditAction(flagKey: string, subjectKey: string, subjectAttributes: BanditSubjectAttributes, actions: BanditActions, defaultValue: string): Omit<IAssignmentDetails<string>, 'evaluationDetails'>;
Parameter | Type | Description |
---|---|---|
flagKey | string | |
subjectKey | string | |
subjectAttributes | BanditSubjectAttributes | |
actions | BanditActions | |
defaultValue | string |
Returns:
Omit<IAssignmentDetails<string>, ‘evaluationDetails’>