Quirrel4.53.0

generator

Methods on every generator.

Functions

clonenodiscard clone(): anyReturns the generator itself: a generator has no separate clone identity.
getstatusnodiscard generator.getstatus(): anyReturns the generator's current state as a string.
tostringnodiscard tostring(): anyReturns a string that names the type and identity of the generator.
weakrefnodiscard weakref(): anyReturns a weak reference to the generator.