opening

Wrap.prototype.opening

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

wrap.class.ts
public get opening(): Opening {
  return this.#opening;
}

Return type

Opening

The return type is the generic type variable Opening declared in the Wrap class.

Returns

The return value is the opening of the wrap of a generic type variable Opening.

Example usage

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

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

Last updated