CheckPromotionConditionFn

CheckPromotionConditionFn

Documentation generated from promotion-condition.ts on Feb 19 2019 at 16:20

A function which checks whether or not a given Order satisfies the PromotionCondition.

Signature

type CheckPromotionConditionFn<T extends PromotionConditionArgs> = (
    order: Order,
    args: ConfigArgValues<T>,
    utils: PromotionUtils,
) => boolean | Promise<boolean>
alpha