Instance methods
Public
Wrap.prototype.getClosing()
Wrap.prototype.getClosing()public getClosing(): Closing {
return this.#closing;
}Returns
Example usage
// Example usage.
import { Wrap } from '@angular-package/text';
// Returns ] of type "]".
new Wrap(`[`, `]`).getClosing();Wrap.prototype.getOpening()
Wrap.prototype.getOpening()Returns
Example usage
Wrap.prototype.getText()
Wrap.prototype.getText()Returns
Example usage
Wrap.prototype.hasClosing()
Wrap.prototype.hasClosing()Parameters
Name: type
Description
Returns
Functions used
Example usage
Wrap.prototype.hasOpening()
Wrap.prototype.hasOpening()Parameters
Name: type
Description
Returns
Functions used
Example usage
Wrap.prototype.hasText()
Wrap.prototype.hasText()Parameters
Name: type
Description
Returns
Functions used
Example usage
Wrap.prototype.isWrapped()
Wrap.prototype.isWrapped()Parameters
Name: type
Description
Returns
Example usage
Wrap.prototype.replaceClosing()
Wrap.prototype.replaceClosing()Generic type variables
Parameters
Name: type
Description
Returns
Example usage
Wrap.prototype.replaceOpening()
Wrap.prototype.replaceOpening()Generic type variables
Parameters
Name: type
Description
Returns
Example usage
Wrap.prototype.replaceText()
Wrap.prototype.replaceText()Generic type variables
Parameters
Name: type
Description
Returns
Example usage
Wrap.prototype.toString()
Wrap.prototype.toString()Returns
Example usage
Wrap.prototype.valueOf()
Wrap.prototype.valueOf()Returns
Example usage
Last updated