UNPKG

typedash

Version:

modern, type-safe collection of utility functions

1 lines 494 B
{"version":3,"sources":["../../src/functions/noop/noop.ts"],"names":[],"mappings":";AAUO,SAAS,QAAQ,MAAgC;AAAC","sourcesContent":["/**\n * A no-operation function that returns `undefined` for any input.\n * @param args Any arguments.\n * @example\n * ```ts\n * noop() // undefined\n * noop(1, 2, 3) // undefined\n * ```\n */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars -- this is the whole point of the function\nexport function noop(...args: readonly unknown[]): void {}\n"]}