> For the complete documentation index, see [llms.txt](https://docs.angular-package.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.angular-package.dev/wrapper/wrap/accessors/closing.md).

# closing

## `Wrap.prototype.closing`

The [`get`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get) accessor gets the [closing](/wrapper/getting-started/basic-concepts.md#closing) of the wrap by returning the [`#closing`](/wrapper/wrap/properties/closing.md) property of the specified object.

{% code title="wrap.class.ts" %}

```typescript
public get closing(): Closing {
  return this.#closing;
}
```

{% endcode %}

### Return type

#### <mark style="color:green;">`Closing`</mark>

The **return type** is the generic type variable [`Closing`](/wrapper/wrap/generic-type-variables.md#wrap-closing) declared in the [`Wrap`](/wrapper/wrap/overview.md) class.

### Returns

The **return value** is [closing](/wrapper/getting-started/basic-concepts.md#closing) of the wrap of a generic type variable [`Closing`](/wrapper/wrap/generic-type-variables.md#wrap-closing).

## Example usage

```typescript
// Example usage.
import { Wrap } from '@angular-package/wrapper';

// Returns ] of type "]".
new Wrap(`[`, `]`, 'quote').closing;
```
