Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GeneratorFunctionConstructor

Hierarchy

  • GeneratorFunctionConstructor

Callable

  • Creates a new Generator function.

    Parameters

    • Rest ...args: string[]

      A list of arguments the function accepts.

    Returns GeneratorFunction

Index

Constructors

Properties

Constructors

constructor

  • 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

A reference to the prototype.