> For the complete documentation index, see [llms.txt](https://wrapper.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://wrapper.angular-package.dev/wrapper-draft/wrap/accessors/get-opening.md).

# get opening()

The \`get\` accessor gets the opening of the wrap by returning the \`#opening\` property of the specified object.

## `Wrap.prototype.opening`

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

### Returns

The **return value** is the [opening](/wrapper-draft/getting-started/basic-concepts.md#opening) of the wrap of a generic type variable [`Opening`](/wrapper-draft/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;
```
