This is a dumb question, but Google isn’t giving me anything.
If I have a table like this:
t = {'a' = 1, 'b' = 2, ... }
How do I get the keys?
Specifically, I need to select one of the pairs from the table at random, which is tricky since nothing is indexed by an integer.