typedash
Version:
modern, type-safe collection of utility functions
21 lines (19 loc) • 405 B
JavaScript
//#region src/functions/noop/noop.ts
/**
* A no-operation function that returns `undefined` for any input.
* @param args Any arguments.
* @example
* ```ts
* noop() // undefined
* noop(1, 2, 3) // undefined
* ```
*/
function noop(...args) {}
//#endregion
Object.defineProperty(exports, 'noop', {
enumerable: true,
get: function () {
return noop;
}
});
//# sourceMappingURL=noop-C6Zw47AJ.cjs.map