{
["Question"] = "A stupid one";
}
What is the best way to get the first key of a table?
I was thinking I could iterate through the loop, but surely there is a better method, or built-in function.
Thanks!
(This is my first time using StackOverflow so I apologise if I did anything wrong)
question from:https://stackoverflow.com/questions/65890119/lua-is-there-a-function-or-method-to-get-the-key-from-a-table