# closing

## `Wrap.prototype.closing`

The [`get`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get) accessor gets the [closing](https://wrapper.angular-package.dev/getting-started/basic-concepts#closing) of the wrap by returning the [`#closing`](https://wrapper.angular-package.dev/wrap/properties/closing) 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`](https://wrapper.angular-package.dev/generic-type-variables#wrap-closing) declared in the [`Wrap`](https://wrapper.angular-package.dev/wrap) class.

### Returns

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

## Example usage

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

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