Preparing search index...
The search index is not available
XYO Platform SDK - v3.6.9
XYO Platform SDK
@xyo-network/payload-model
asPayload
Function asPayload
asPayload
<
T
extends
DeepRestrictToStringKeys
<
{
schema
:
string
}
>
>
(
schema
:
string
[]
,
)
:
{
<
TType
extends
DeepRestrictToStringKeys
<
{
schema
:
string
}
>
>
(
value
:
AnyNonPromise
,
config
?:
TypeCheckConfig
,
)
:
undefined
|
TType
;
<
TType
extends
DeepRestrictToStringKeys
<
{
schema
:
string
}
>
>
(
value
:
AnyNonPromise
,
assert
:
StringOrAlertFunction
<
T
>
,
config
?:
TypeCheckConfig
,
)
:
TType
;
}
Type Parameters
T
extends
DeepRestrictToStringKeys
<
{
schema
:
string
}
>
Parameters
schema
:
string
[]
Returns
{
<
TType
extends
DeepRestrictToStringKeys
<
{
schema
:
string
}
>
>
(
value
:
AnyNonPromise
,
config
?:
TypeCheckConfig
,
)
:
undefined
|
TType
;
<
TType
extends
DeepRestrictToStringKeys
<
{
schema
:
string
}
>
>
(
value
:
AnyNonPromise
,
assert
:
StringOrAlertFunction
<
T
>
,
config
?:
TypeCheckConfig
,
)
:
TType
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
XYO Platform SDK - v3.6.9
Loading...