pub fn pairs(t: table) -> (function, table, nil)Expand description
Returns three values (the next function, the table t, and nil)
so that the construction
for k, v in pairs(t) do body endwill iterate over all key–value pairs of the table.
If t has a metamethod __pairs, calls it with t as argument and
returns the first three results from the call instead.