> 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/opening.md).

# opening

## `Wrap.prototype.opening`

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

### Returns

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

## Example usage

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

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