Preparing search index...
The search index is not available
Wayward Types Viewer | 2.14.0-beta.dev.20240903.1
Wayward Types Viewer
utilities/collection/map/DefaultMap
default
Class default<K, V>
Type Parameters
K
V
Hierarchy
Map
<
K
,
V
>
default
Implements
ISerializable
ICloneable
Index
Constructors
constructor
Properties
default
Value
Methods
[SYMBOL_
CLONE]
compute
deserialize
Object
find
Key
get
Key
initialize
serialize
Object
values
And
Default
Constructors
constructor
new default
<
K
,
V
>
(
defaultValue
:
V
, entries
?:
Iterable
<
readonly
[
K
,
RecursivePartial
<
V
>
]
>
)
:
default
<
K
,
V
>
Type Parameters
K
V
Parameters
defaultValue:
V
Optional
entries:
Iterable
<
readonly
[
K
,
RecursivePartial
<
V
>
]
>
Returns
default
<
K
,
V
>
Properties
Readonly
default
Value
default
Value
:
V
Methods
[SYMBOL_
CLONE]
[SYMBOL_
CLONE]
(
clone
:
(
<
T
>
(
obj
:
T
)
=>
T
)
)
:
default
<
K
,
V
>
Parameters
clone:
(
<
T
>
(
obj
:
T
)
=>
T
)
<
T
>
(
obj
:
T
)
:
T
Type Parameters
T
Parameters
obj:
T
Returns
T
Returns
default
<
K
,
V
>
compute
compute
<
ARGS
>
(
key
:
K
, computer
:
(
(
key
:
K
,
...
args
:
any
[]
)
=>
V
)
,
...
args
:
ARGS
)
:
V
Type Parameters
ARGS
extends
any
[]
Parameters
key:
K
computer:
(
(
key
:
K
,
...
args
:
any
[]
)
=>
V
)
(
key
:
K
,
...
args
:
any
[]
)
:
V
Parameters
key:
K
Rest
...
args:
any
[]
Returns
V
Rest
...
args:
ARGS
Returns
V
deserialize
Object
deserialize
Object
(
serializer
:
ISerializer
)
:
boolean
Parameters
serializer:
ISerializer
Returns
boolean
find
Key
find
Key
(
predicate
:
(
(
value
:
V
)
=>
unknown
)
)
:
undefined
|
K
Parameters
predicate:
(
(
value
:
V
)
=>
unknown
)
(
value
:
V
)
:
unknown
Parameters
value:
V
Returns
unknown
Returns
undefined
|
K
get
Key
get
Key
(
value
:
V
)
:
undefined
|
K
Parameters
value:
V
Returns
undefined
|
K
initialize
initialize
(
key
:
K
)
:
V
Parameters
key:
K
Returns
V
serialize
Object
serialize
Object
(
serializer
:
ISerializer
)
:
undefined
Parameters
serializer:
ISerializer
Returns
undefined
values
And
Default
values
And
Default
(
)
:
Generator
<
V
,
any
,
unknown
>
Returns
Generator
<
V
,
any
,
unknown
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Navigation
Modding Guide
Module Index
Common Modules
@Register
IDoodadDescription
IItemDescription
ITerrainDescription
ITileEventDescription
ICreatureDescription
In This Module
default
constructor
default
Value
[SYMBOL_
CLONE]
compute
deserialize
Object
find
Key
get
Key
initialize
serialize
Object
values
And
Default
Generated using
TypeDoc