How find.* filter functions work
β Starfallβ’Updated 2 days agoβ’0 views
You pass a function that takes an entity and returns a boolean - true keeps it in the result table. Example: find.all(function(e) return e:getOwner()==owner endβ¦
How does the filter function work for Starfall find functions
You pass a function that takes an entity and returns a boolean - true keeps it in the result table. Example: find.all(function(e) return e:getOwner()==owner end). You can also operate on entities inside the filter itself.