Interface GeneratorFunctionConstructor

    interface GeneratorFunctionConstructor {
        new GeneratorFunctionConstructornew (...args: string[]): GeneratorFunction;
        length: number;
        name: string;
        prototype: GeneratorFunction;
        (...args: string[]): GeneratorFunction;
    }
    • Creates a new Generator function.

      Parameters

      • Rest...args: string[]

        A list of arguments the function accepts.

      Returns GeneratorFunction

    Constructors

    Properties

    Constructors

    • Creates a new Generator function.

      Parameters

      • Rest...args: string[]

        A list of arguments the function accepts.

      Returns GeneratorFunction

    Properties

    length: number

    The length of the arguments.

    name: string

    Returns the name of the function.

    A reference to the prototype.