Instance accessors

The properties of `Wrap` the string object.

Public

Wrap.prototype.closing

The getarrow-up-right 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;
}

Returns

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

Wrap.prototype.opening

The getarrow-up-right 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;
}

Returns

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

Wrap.prototype.wrap

The getarrow-up-right accessor gets the wrap consisting of the opening and closing.

Returns

The return value is the wrap of a generic type variable in order Opening and Closing on the template.

Wrap.prototype.value

The getarrow-up-right accessor gets the wrap consisting of the opening and closing.

Returns

The return value is the wrap of a generic type variable in order Opening and Closing on the template.

[Symbol.toStringTag]

The getarrow-up-right accessor, with the help of toStringTagarrow-up-right of Symbol, changes the default object tag to wrap for an instance of the Wrap.

circle-info

Good to know: The property can be read by the typeOf() function of the type package.

Example usage

Last updated