UNPKG
@pipeletteio/nop
Version:
latest (1.0.5)
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
A simple nop function helper
github.com/pipeletteio/nop
pipeletteio/nop
@pipeletteio/nop
/
src
/
index.d.ts
9 lines
(8 loc)
•
232 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
/** * A nop function which can be used to replace non-cancelable calls. */
export
declare function
nop
(..._: any[])
: void;
/** * Check if argument is the shared nop function. */
export
declare function
isNop
(arg: any)
: boolean;