TanStack
API Reference

noop

Overview

ts
function noop(): void;
function noop(): undefined;
  • void: A function that does nothing.
  • undefined: A function that does nothing.

See also: Returns

Call Signature

ts
function noop(): void;

Defined in: packages/query-core/src/utils.ts:121

A function that does nothing.

Returns

void

Call Signature

ts
function noop(): undefined;

Defined in: packages/query-core/src/utils.ts:122

A function that does nothing.

Returns

undefined

Returns

undefined