Skip to main content

Argumente

string
erforderlich
GC object type für die Suche. Der Wert wird in lowercase umgewandelt und muss “table” oder “function” sein.
table
erforderlich
Filter table. function searches lesen Name, Hash, StartLine, IgnoreExecutor, IgnoreSyn, Environment, Constants und Upvalues. table searches lesen Metatable, Keys, Values und KeyValuePairs.
boolean
Optionales optional boolean handling flag. Wenn true, wird das erste matching object oder nil statt einer array table zurückgegeben.

Rückgaben

table | function | nil
Wenn returnOne false ist oder fehlt, eine array table of matches. Wenn returnOne true ist, das erste matching table/function object oder nil.

Beispiel

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