@jiminp/tooltool
    Preparing search index...

    Function nop

    • A no-operation function.

      Invoking this function has no side effects and always returns undefined. Useful as a placeholder callback or default implementation when a function signature must be satisfied.

      Parameters

      • ...args: unknown[]

        Arguments that will be ignored.

      Returns void

      nop();           // does nothing
      nop(1, 2, 3); // still does nothing
      nop("a", true); // also does nothing