Struct
Index
Constructor
Other
Constructor
Module
__call__
Callable property
inspect
When defined, returns a custom string representation
readonlytypeName
The factory type constant
asInstance
Try to convert anyValue to enum value or else returns
Option.None
create
Construct a new model
hasInstance
Return
true
if the given value is an instance of the class.
Other
Parameters
Extract all parameters to create a new Struct
Type parameters
- Model
type
consttype
The type property discriminator
define
Return a new
Struct
default factory See Module for additional properties added to the constructorType parameters
- Model: Readonly<{ _: string }>
Construct a new model