NagPredicate

A predicate deciding whether the current supporter should see the nag.

A predicate deciding whether the current supporter should see the nag.

import type { NagPredicate } from "@sponsorkit/sdk";

type NagPredicate = (fc: FinancialContribution) => boolean | Promise<boolean>

Type alias, exported from @sponsorkit/sdk, @sponsorkit/sdk/node.

See also: FinancialContribution.