Preparing search index...
The search index is not available
Wayward Types Viewer | 2.14.0-beta.dev.20240903.1
Wayward Types Viewer
utilities/Optional
asType
Function asType
as
Type
<
T
,
TYPENAME
>
(
value
:
T
, type
:
TYPENAME
)
:
Extract
<
T
,
ITypeofTypes
[
TYPENAME
]
>
|
undefined
Type Parameters
T
TYPENAME
extends
keyof
ITypeofTypes
Parameters
value:
T
type:
TYPENAME
Returns
Extract
<
T
,
ITypeofTypes
[
TYPENAME
]
>
|
undefined
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
Optional
as
Instance
as
Type
not
Instance
not
Type
Generated using
TypeDoc