text
Last updated
Wrap.prototype.textThe get accessor gets the text of the Wrap by returning the #text property of a specified object.
public get text(): Text {
return this.#text;
}TextThe return type is the generic type variable Text declared in the Wrap class.
The return value is the text of a generic type variable Text.
// Example usage.
import { Wrap } from '@angular-package/wrapper';
// Returns quote of type "quote".
new Wrap(`[`, `]`, 'quote').text;Last updated