js-client-sdk

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

EppoJSClient.getStringAssignment() method

Signature:

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

Parameters

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

Returns:

string