14 lines
303 B
JavaScript
14 lines
303 B
JavaScript
|
|
//#region src/compat/function/noop.ts
|
||
|
|
/**
|
||
|
|
* A no-operation function that does nothing.
|
||
|
|
* This can be used as a placeholder or default function.
|
||
|
|
*
|
||
|
|
* @example
|
||
|
|
* noop(); // Does nothing
|
||
|
|
*
|
||
|
|
* @returns {void} This function does not return anything.
|
||
|
|
*/
|
||
|
|
function noop(..._) {}
|
||
|
|
//#endregion
|
||
|
|
exports.noop = noop;
|