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

    Function isAnyGeneratorFunction

    • Detects whether the passed value is either kind of generator function, async or non-async.

      Parameters

      • Optionalvalue: any

        An optionally passed value of any type.

      Returns value is AnyGeneratorFunction

      A boolean value which indicates whether the tested value is either an async or a non-async generator function.