zeed
Preparing search index...
func
Function func
func
<
TypeFuncArgs
extends
[
]
|
[
Type
<
unknown
>
,
...
Type
<
any
>
[]
]
,
TypeFuncRet
=
Type
<
unknown
>
,
T
=
(
...
args
:
TypeTuple
<
TypeFuncArgs
>
)
=>
Infer
<
TypeFuncRet
>
,
>
(
args
:
TypeFuncArgs
,
ret
:
TypeFuncRet
,
)
:
Type
<
T
>
Creates a regular function type validator
Type Parameters
TypeFuncArgs
extends
[
]
|
[
Type
<
unknown
>
,
...
Type
<
any
>
[]
]
TypeFuncRet
=
Type
<
unknown
>
T
=
(
...
args
:
TypeTuple
<
TypeFuncArgs
>
)
=>
Infer
<
TypeFuncRet
>
Parameters
args
:
TypeFuncArgs
ret
:
TypeFuncRet
Returns
Type
<
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
zeed
Loading...
Creates a regular function type validator