Constructor
Wrapper()
Wrapper()
Creates a new Wrapper
instance with the opening
and closing
chars and optional text
.
wrapper.class.ts
Parameters
opening:
Opening
opening:
Opening
The opening chars of a generic type variable Opening
placed before the given text
.
closing:
Closing
closing:
Closing
The closing chars of a generic type variable Closing
placed after the given text
.
text:
Text
text:
Text
Optional text of a generic type variable Text
to wrap by given opening
and closing
chars.
Returns
The return value is a new instance of Wrapper
.
Example usage
Last updated