Checks and returns true, if value is either a:
true
GeneratorFunction
function* () {}
AsyncGeneratorFunction
async function* () {}
z.isAsyncGeneratorFunction for the more specific one
z.isAsyncGeneratorFunction
Checks and returns
true
, if value is either a:GeneratorFunction
, egfunction* () {}
AsyncGeneratorFunction
async function* () {}
See
z.isAsyncGeneratorFunction
for the more specific one