js-client-sdk

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

EppoJSClient.getIntegerAssignment() method

Signature:

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

Parameters

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

Returns:

number