Wrap
The Wrap object represents the immutable text wrapped by the opening and closing chars. It is designed to preserve the names of the opening, text and closing.
Instance accessors
The get accessor, with the help of toStringTag of Symbol, changes the default object tag to wrap for an instance of the Wrap.
Static methods
Checks whether the text has opening chars at the beginning.
Checks whether the text has given closing chars at the end.
Instance methods
Checks whether the primitive value of a specified object has the closing chars or given closing chars.
Checks whether the primitive value of a specified object has the opening chars or given opening chars.
Returns the primitive value with replaced closing chars.
Returns the primitive value with replaced opening chars.
Returns the primitive value with replaced text.
Last updated