Last updated 3 years ago
Was this helpful?
Wrap.prototype.getText()
Gets the text of the wrap by returning the #text property of a specified object, without the opening and closing chars of the Wrap.
#text
Wrap
public getText(): Text { return this.#text; }
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').getText();
Text