Detects whether the passed value is exclusively a GeneratorFunction type.
value
GeneratorFunction
Optional
An optionally passed value of any type.
A boolean value which indicates whether the tested value is exclusively a GeneratorFunction type.
Detects whether the passed
valueis exclusively aGeneratorFunctiontype.