Home > @uniformdev/context > evaluateVariantMatch
evaluateVariantMatch() function
Signature:
declare function evaluateVariantMatch(variantId: string, match: VariantMatchCriteria | undefined | null, vec: ScoreVector, onLogMessage?: (message: LogMessage) => void, quirks?: Quirks): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
variantId | string | |
match | VariantMatchCriteria | undefined | null | |
vec | ScoreVector | |
onLogMessage | (message: LogMessage) => void | (Optional) |
quirks | Quirks | (Optional) |
Returns:
boolean