Lua Tables & Descendants

Simple question; is there a built-in functionality for checking tables nested within tables for a certain value, or should I create a looping function?

I know that when it comes to instances, you can do Sample:GetDescendants() to create a table with all the descendants in it, and just iterate through that once, I was wondering if there is a similar method available for doing that to existing tables.

No, there isn’t. You have to write it yourself.

2 Likes

To add onto Ben’s reply, here’s a topic that covers some steps that could be taken to achieve that:

1 Like