js-client-sdk

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

EppoJSClient.getJSONAssignment() method

Signature:

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

Parameters

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

Returns:

object