Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GeneratorFunction

Hierarchy

  • GeneratorFunction

Callable

  • Creates a new Generator object.

    Parameters

    • Rest ...args: any[]

      A list of arguments the function accepts.

    Returns Generator

Index

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

[Symbol.toStringTag]

[Symbol.toStringTag]: string

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.