★ wrapText()
Last updated
Was this helpful?
Last updated
Was this helpful?
Wrapper.prototype.wrapText()
The method returns the of the object with wrapped by given and chars.
TextOpening
extends
string
=
''
A generic type variable constrained by the indicates the captured type of the supplied parameter and the type in the generic type via , by default an empty .
TextClosing
extends
string
=
''
A generic type variable constrained by the indicates the captured type of the supplied parameter and the type in the generic type via , by default an empty .
Wrapped<Opening, Wrapped<TextOpening, Text, TextClosing>, Closing>
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 the generic type that takes generic type variables , and .
The return value is the with wrapped by given and characters of generic type .