Endo
Preparing search index...
@endo/patterns
MethodGuardOptional
Type Alias MethodGuardOptional<CK, Args>
Optional arguments not guarded with
M.raw()
are automatically hardened and must be Passable.
type
MethodGuardOptional
<
CK
extends
"sync"
|
"async"
=
"sync"
|
"async"
,
Args
extends
ArgGuard
[]
=
ArgGuard
[]
,
>
=
{
optional
:
<
OA
extends
ArgGuard
[]
>
(
...
optArgGuards
:
OA
,
)
=>
MethodGuardRestReturns
<
CK
,
Args
,
OA
>
;
}
Type Parameters
CK
extends
"sync"
|
"async"
=
"sync"
|
"async"
Args
extends
ArgGuard
[]
=
ArgGuard
[]
Index
Properties
optional
Properties
optional
optional
:
<
OA
extends
ArgGuard
[]
>
(
...
optArgGuards
:
OA
,
)
=>
MethodGuardRestReturns
<
CK
,
Args
,
OA
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
optional
Endo
Loading...
Optional arguments not guarded with
M.raw()are automatically hardened and must be Passable.