For the complete documentation index, see llms.txt. This page is also available as Markdown.

Instance accessors

Public

Wrapped.prototype.closing

The get accessor gets the closing of the wrap.

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

Returns

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

Wrapped.prototype.opening

The get accessor gets the opening of the wrap.

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

Returns

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

Wrapped.prototype.text

The get accessor gets the text.

Returns

The return value is the text of a generic type variable Text.

Wrapped.prototype.value

The get accessor gets the wrapped text primitive value of a specified object.

Returns

The return value is the text of a generic type variable in order Opening, Text, Closing on the template.

[Symbol.toStringTag]

The property, with the help of toStringTag of Symbol, changes the default object tag to wrapped for an instance of the Wrapped.

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

Example usage

Last updated