@pleisto/active-support
Preparing search index...
partob
Variable partob
Const
partob
:
<
T
,
K
,
PartialArgs
extends
Partial
<
T
>
>
(
fn
:
(
args
:
T
)
=>
K
,
argobj
:
PartialArgs
,
)
=>
(
restobj
:
Omit
<
T
,
keyof
PartialArgs
>
)
=>
K
Like partial but for unary functions that accept a single object argument
Type declaration
<
T
,
K
,
PartialArgs
extends
Partial
<
T
>
>
(
fn
:
(
args
:
T
)
=>
K
,
argobj
:
PartialArgs
,
)
:
(
restobj
:
Omit
<
T
,
keyof
PartialArgs
>
)
=>
K
Type Parameters
T
K
PartialArgs
extends
Partial
<
T
>
Parameters
fn
:
(
args
:
T
)
=>
K
argobj
:
PartialArgs
Returns
(
restobj
:
Omit
<
T
,
keyof
PartialArgs
>
)
=>
K
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@pleisto/active-support
Loading...
Like partial but for unary functions that accept a single object argument