peekbag
peekbag maintains a collection of numbers from value–flag pairs: a nonzero flag adds a value, while zero removes it, and duplicate values are allowed. Like bag, it supports flush to output and empty the collection and clear to empty it; additionally, a bang outputs the contents without clearing them, while aslist outputs all elements as one list.
AI Generated
This content was generated with the assistance of AI. If you notice any errors, please report them or submit a fix using Submit. Check the prompt used here.
- Download via Deken.
Open
Pdand go toToolsFind Externals. Search forpdluaand install it. Then create an object withdeclare -lib pdlua -path pdlua. Finally, usepeekbagor any other object frompdlua. - Available for .