Closed Majoca22 closed 2 years ago
Sorry about that! Don't have doctests so sometimes these things slip through the cracks.
Thanks for addressing this! I'm still not sure the documentation is correct though; wouldn't table.find(tbl, "foo")
return 1 (the key of foo) and table.find(tbl, "baz")
return nil?
Holy crud, I really dropped the ball on the docs for this function. Thanks!
The current usage documentation for
table.find()
is:which isn't demonstrating the
table.find()
function, and is instead usingtable.search()
(which I don't see in the table module?)