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

@:keepnew()

Creates a new WeakMap.

Methods

@:has_untyped@:keepclear():Void

@:keepcopy():WeakMap<K, V>

@:has_untyped@:keepexists(key:K):Bool

@:has_untyped@:keepget(key:K):Null<V>

@:has_untyped@:keepiterator():Iterator<V>

@:has_untyped@:keepkeys():Iterator<K>

@:has_untyped@:keepremove(key:K):Bool

@:has_untyped@:keepset(key:K, value:V):Void

@:has_untyped@:keeptoString():String