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

ParameterTypeDescription
variantIdstring
matchVariantMatchCriteria | undefined | null
vecScoreVector
onLogMessage(message: LogMessage) => void(Optional)
quirksQuirks(Optional)

Returns:

boolean