js-client-sdk

Home > @eppo/js-client-sdk > EppoJSClient > getStringAssignment

EppoJSClient.getStringAssignment() method

Signature:

getStringAssignment(flagKey: string, subjectKey: string, subjectAttributes: Record<string, any>, defaultValue: string): string;

Parameters

Parameter Type Description
flagKey string  
subjectKey string  
subjectAttributes Record<string, any>  
defaultValue string  

Returns:

string