UNPKG

@pipeletteio/nop

Version:

A simple nop function helper

9 lines (8 loc) 232 B
/** * 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;