If you mean lua's next()
, then yeah, apparently not - returns internal '_e' value from raw table.
There doesn't seem to be a way to override its result via metatables in lua 5.2, so guess for "anything", it has to be done via pairs().
Also above examples use specific condition for all operations (signal value < 0), which won't really work with next() anyway, as it only returns first key in a table without checking any of that.