Scripts & runtimeOverview
filtergc
Represents filtered inspection of runtime objects.
Details#
Filters discoverable runtime objects using a predicate function, or the strings table/function with an options table and optional returnOne flag. Predicate errors are skipped; predicate mode returns a collection. The example only matches a table created locally.
Examples#
Example
local marker = { docsMarker = true }
local matches = filtergc(function(value) return value == marker end)
print(#matches, marker.docsMarker)