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* () {}AsyncGeneratorFunctionasync function* () {}See
z.isAsyncGeneratorFunctionfor the more specific one