kinetex - v1.0.0-rc.1
Preparing search index...
tap
Function tap
tap
<
T
>
(
fn
:
(
value
:
T
)
=>
void
|
Promise
<
void
>
)
:
(
value
:
T
)
=>
Promise
<
T
>
Create a "tap" hook — runs a side-effect on a value without modifying it.
Type Parameters
T
Parameters
fn
:
(
value
:
T
)
=>
void
|
Promise
<
void
>
Returns
(
value
:
T
)
=>
Promise
<
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
npm
JSR
kinetex - v1.0.0-rc.1
Loading...
Create a "tap" hook — runs a side-effect on a value without modifying it.