Detects whether the passed value is either kind of generator type, async or non-async.
value
Optional
An optionally passed value of any type.
A boolean value which indicates whether the tested value is either an async or a non-async generator type.
Detects whether the passed
valueis either kind of generator type, async or non-async.