<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [\_Debug](./rc-js-util._debug.md) &gt; [labelBlock](./rc-js-util._debug.labelblock.md)

## \_Debug.labelBlock() method

**Signature:**

```typescript
static labelBlock<T>(this: void, label: string | undefined): (callback: () => T) => T;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

this


</td><td>

void


</td><td>


</td></tr>
<tr><td>

label


</td><td>

string \| undefined


</td><td>


</td></tr>
</tbody></table>
**Returns:**

(callback: () =&gt; T) =&gt; T

