@mikuroxina/mini-fn
Preparing search index...
Model
newModel
Function newModel
newModel
<
T
>
(
model
:
Model
.
Model
<
T
>
)
:
(
data
:
unknown
)
=>
T
Validates
data
with the schema
model
.
Type Parameters
T
Parameters
model
:
Model
.
Model
<
T
>
Schema.
Returns
(
data
:
unknown
)
=>
T
data
with type information.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@mikuroxina/mini-fn
Loading...
Validates
datawith the schemamodel.