I’m wondering if there’s an easier way to see if a specific value exists within a table/array. Right now, I usually just write my own search function to see if a value exists or not, but I feel like there must be an easier way.
Python has this capability with:
l = ['example']
print('example' in l)
Which would output as True.
Is there something similar in Roblox Lua?
Thanks