# opening

## `Wrap.prototype.opening`

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

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

```typescript
public get opening(): Opening {
  return this.#opening;
}
```

{% endcode %}

### Return type

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

The **return type** is the generic type variable [`Opening`](https://docs.angular-package.dev/wrapper/generic-type-variables#wrap-opening) declared in the [`Wrap`](https://docs.angular-package.dev/wrapper/wrap) class.

### Returns

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

## Example usage

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

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