Type Parameters

  • K
  • V

Hierarchy

Constructors

Methods

Constructors

Methods

  • Returns the value if the key already exists. If not, it creates a new value under that key using the ctor callback and returns it.

    Parameters

    • key: K

    Returns V