Last updated 3 years ago
Was this helpful?
Wrap.prototype.getText()
Gets the text of the wrap by returning the property of a specified object, without the and chars of the .
public getText(): Text { return this.#text; }
The return value is the of a generic type variable .
// Example usage. import { Wrap } from '@angular-package/wrapper'; // Returns quote of type "quote". new Wrap(`[`, `]`, 'quote').getText();
#text
Wrap
text
Text