textWrap()
Last updated
Was this helpful?
Last updated
Was this helpful?
Wrapper.prototype.textWrap()
The method returns the of the object wrapped by the given and chars.
TextOpening
extends
string
A generic type variable constrained by the , by default of the value captured from the provided indicates the type of the opening chars in generic type via .
TextClosing
extends
string
A generic type variable constrained by the , by default of the value captured from the provided indicates the type of the closing chars in generic type via .
opening: TextOpening
closing: TextClosing
Wrapped<TextOpening, Text, TextClosing>
The opening chars of a generic type variable to wrap the of the instance.
The closing chars of a generic type variable to wrap the of the instance.
The return type is generic type that takes generic type variables , and .
The return value is the wrapped by given and chars of generic type .