Open History to see the last commit
1---
2id: noop
3title: noop
4---
5β
6## Overview
7β
8```ts
9function noop(): void;
10function noop(): undefined;
11```
12β
13- [`void`](#call-signature-1): A function that does nothing.
14- [`undefined`](#call-signature-2): A function that does nothing.
15β
16See also: [Returns](#returns-summary)
17β
18<a id="call-signature-1"></a>
19β
20## Call Signature
21β
22```ts
23function noop(): void;
24```
25β
26Defined in: [packages/query-core/src/utils.ts:121](https://github.com/TanStack/query/blob/main/packages/query-core/src/utils.ts#L121)
27β
28A function that does nothing.
29β
30### Returns
31β
32`void`
33β
34<a id="call-signature-2"></a>
35β
36## Call Signature
37β
38```ts
39function noop(): undefined;
40```
41β
42Defined in: [packages/query-core/src/utils.ts:122](https://github.com/TanStack/query/blob/main/packages/query-core/src/utils.ts#L122)
43β
44A function that does nothing.
45β
46### Returns
47β
48`undefined`
49β
50<a id="returns-summary"></a>
51β
52## Returns
53β
54`undefined`