Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • GeneratorFunctionConstructor

Callable

  • __call(...args: string[]): GeneratorFunction
  • Creates a new Generator function.

    Parameters

    • Rest ...args: string[]

      A list of arguments the function accepts.

    Returns GeneratorFunction

Index

Constructors

Properties

Constructors

constructor

  • new GeneratorFunctionConstructor(...args: string[]): GeneratorFunction
  • Creates a new Generator function.

    Parameters

    • Rest ...args: string[]

      A list of arguments the function accepts.

    Returns GeneratorFunction

Properties

length

length: number

The length of the arguments.

name

name: string

Returns the name of the function.

prototype

prototype: GeneratorFunction

A reference to the prototype.

Generated using TypeDoc