Skip to main content

Аргументы

string
обязательно
Искомый GC object type. Значение переводится в lowercase и должно быть “table” или “function”.
table
обязательно
Filter table. function searches читают Name, Hash, StartLine, IgnoreExecutor, IgnoreSyn, Environment, Constants и Upvalues. table searches читают Metatable, Keys, Values и KeyValuePairs.
boolean
Optional optional boolean handling flag. Когда true, возвращает первый matching object или nil вместо array table.

Возвраты

table | function | nil
Когда returnOne равен false или omitted, array table of matches. Когда returnOne равен true, первый matching table/function object или nil.

Пример

Find GC tables by key filters without relying on result order.