toWrap()
Wrapper.prototype.toWrap()
Wrapper.prototype.toWrap()
Returns the Wrap
instance consists of the text
, opening
and closing
chars of the Wrapper
object.
wrapper.class.ts
Return type
Wrap<
Opening
,
Text
,
Closing
>
Wrap<
Opening
,
Text
,
Closing
>
The return type is the Wrap
object that takes generic type variables Opening
, Text
and Closing
.
Returns
The return value is an instance of Wrap
consisting of the text
, opening
, and closing
chars of the Wrapper
object.
Example usage
Last updated