js-client-sdk

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

EppoJSClient.getBooleanAssignment() method

Signature:

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

Parameters

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

Returns:

boolean