Skip to content

Group.SearchCard ​

Signature ​

lua
Group.SearchCard(Group g, function f, ... any) -> Card|nil

Description ​

Returns the first card in g that satisfies f with any extra arguments, or nil if none does.

Parameters ​

  • g Group
  • f function
  • ... any

Returns ​

  • Card|nil

Source ​

  • D:\Programs\GitHub\ygopro-core\libgroup.cpp:933

Used By ​

Generated from the local Scripts/ folder and cards.cdb.

No indexed local card script currently calls this function.

This can mean the function is unused in the current script set, is only called through an alias, or is available for future/manual scripts.