@petsel/es-type-detection - v1.0.0
    Preparing search index...

    Function isGeneratorFunction

    • Detects whether the passed value is exclusively a GeneratorFunction type.

      Parameters

      • Optionalvalue: any

        An optionally passed value of any type.

      Returns value is GeneratorFunction

      A boolean value which indicates whether the tested value is exclusively a GeneratorFunction type.