Type Utils
Preparing search index...
getStructMetadata
Function getStructMetadata
getStructMetadata
<
U
>
(
guard
:
TypeGuard
<
U
>
,
)
:
|
V3
.
AnyStruct
|
V3
.
GenericStruct
<
U
,
true
>
|
{
context
?:
Record
<
string
,
any
>
|
null
;
kind
?:
string
;
optional
:
boolean
;
schema
:
TypeGuard
<
U
>
;
type
:
"custom"
;
}
Type Parameters
U
Parameters
guard
:
TypeGuard
<
U
>
Returns
|
V3
.
AnyStruct
|
V3
.
GenericStruct
<
U
,
true
>
|
{
context
?:
Record
<
string
,
any
>
|
null
;
kind
?:
string
;
optional
:
boolean
;
schema
:
TypeGuard
<
U
>
;
type
:
"custom"
;
}
V3
.
AnyStruct
V3
.
GenericStruct
<
U
,
true
>
{
context
?:
Record
<
string
,
any
>
|
null
;
kind
?:
string
;
optional
:
boolean
;
schema
:
TypeGuard
<
U
>
;
type
:
"custom"
;
}
Optional
context
?:
Record
<
string
,
any
>
|
null
context metadata for the custom struct
Optional
kind
?:
string
kind of the custom struct's value mapped
optional
:
boolean
schema
:
TypeGuard
<
U
>
type
:
"custom"
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
Type Utils
Loading...
context metadata for the custom struct