This is an iterator function for traversing a sparse array . It is similar to ipairs, but will continue to iterate until the highest numerical key, whereas ipairs may stop after the first value. Any keys that are not positive integers are ignored.