WeakMapWrapper
Defined in: src/obsidian/internals/WeakMapWrapper.d.ts:2
Extends
WeakMap
<K
,V
>
Type Parameters
• K extends object
• V
Properties
[toStringTag]
readonly
[toStringTag]:string
Defined in: lib.es2015.symbol.wellknown.d.ts:141
Inherited from
WeakMap.[toStringTag]
map
map:
WeakMap
<K
,V
>
Defined in: src/obsidian/internals/WeakMapWrapper.d.ts:3
Methods
delete()
delete(
key
):boolean
Defined in: lib.es2015.collection.d.ts:67
Removes the specified element from the WeakMap.
Parameters
key
K
Returns
boolean
true if the element was successfully removed, or false if it was not present.
Inherited from
WeakMap.delete
get()
get(
key
):undefined
|V
Defined in: lib.es2015.collection.d.ts:71
Parameters
key
K
Returns
undefined
| V
a specified element.
Inherited from
WeakMap.get
has()
has(
key
):boolean
Defined in: lib.es2015.collection.d.ts:75
Parameters
key
K
Returns
boolean
a boolean indicating whether an element with the specified key exists or not.
Inherited from
WeakMap.has
set()
set(
key
,value
):this
Defined in: lib.es2015.collection.d.ts:80
Adds a new element with a specified key and value.
Parameters
key
K
Must be an object or symbol.
value
V
Returns
this
Inherited from
WeakMap.set