Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • GeneratorFunction

Callable

  • Creates a new Generator object.

    Parameters

    • Rest ...args: any[]

      A list of arguments the function accepts.

    Returns Generator

Index

Constructors

Properties

Constructors

constructor

  • new GeneratorFunction(...args: any[]): Generator
  • Creates a new Generator object.

    Parameters

    • Rest ...args: any[]

      A list of arguments the function accepts.

    Returns Generator

Properties

length

length: number

The length of the arguments.

name

name: string

Returns the name of the function.

prototype

prototype: Generator

A reference to the prototype.

Generated using TypeDoc