WeakMap allows mapping of object keys to arbitrary values.

The keys are considered to be weak references on static targets.

See Map for documentation details.

See also:

Constructor

new()

Creates a new WeakMap.

Methods

@:has_untypedclear():Void

copy():WeakMap<K, V>

@:has_untypedexists(key:K):Bool

@:has_untypedget(key:K):Null<V>

@:has_untypedremove(key:K):Bool

@:has_untypedset(key:K, value:V):Void

Inherited Variables

Inherited Methods