Skip to content

TargetFilterFunction

subtype of function

A function used to filter cards affected by an effect. Usually passed to Effect.SetTarget for non-activated effects that affect certain cards.

Functions that use this type as parameter

Functions that use this type as parameter

Signature

function(Effect e, Card c) → bool

lua
function(e,c)

Parameters

Returns

  • bool

    If the card passed the filter.