get closing()

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

Wrap.prototype.closing

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

wrap.class.ts
public get closing(): Closing {
  return this.#closing;
}

Return type

Closing

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

Returns

The return value is closing of the wrap of a generic type variable Closing.

Example usage

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

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

Last updated