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 の場合、array table ではなく最初の matching object または nil を返します。

戻り値

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.