GeneratorFunctionConstructor | typescript
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.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc