js-client-sdk

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

EppoJSClient.getBoolAssignment() method

Warning: This API is now obsolete.

Use getBooleanAssignment instead

Signature:

getBoolAssignment(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