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