# Instance

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><a href="instance/isclosingin"><strong>isClosingIn()</strong></a><br>Determines whether the provided <a href="isclosingin#text-string"><code>text</code></a> has the <a href="../../wrap/accessors/closing"><code>closing</code></a> chars of the specified <a href=".."><code>Wrapper</code></a> object at the <strong>end</strong>.</p>                                                                                                                                                                                                                                                                                                                   |
| <p><a href="instance/isopeningin"><strong>isOpeningIn()</strong></a><br>Checks whether the provided <a href="isopeningin#text-string"><code>text</code></a> has the <a href="../../wrap/accessors/opening"><code>opening</code></a> chars of a specified <a href=".."><code>Wrapper</code></a> object at the <strong>beginning</strong>.</p>                                                                                                                                                                                                                                                                                                                   |
| <p><a href="instance/replaceclosingin"><strong>replaceClosingIn()</strong></a><br>Replaces the <a href="../../wrap/accessors/closing"><code>closing</code></a> chars of the <a href="../overview"><code>Wrapper</code></a> object in the given <a href="replaceclosingin#text-string"><code>text</code></a> with a given <a href="replaceclosingin#replacevalue-string">replacement value</a>.</p>                                                                                                                                                                                                                                                             |
| <p><a href="replaceopeningin#replacevalue-string"><strong>replaceOpeningIn()</strong></a><br>Replaces the <a href="../../wrap/accessors/opening"><code>opening</code></a> chars of the <a href=".."><code>Wrapper</code></a> object in the given <a href="replaceopeningin#text-string"><code>text</code></a> with a given <a href="replaceopeningin#replacevalue-string">replacement value</a>.</p>                                                                                                                                                                                                                                                           |
| <p><a href="instance/removewrapin"><strong>removeWrapIn()</strong></a><br>Returns given <a href="removewrapin#text-string"><code>text</code></a> without the <a href="../../wrap/accessors/opening"><code>opening</code></a> and <a href="../../wrap/accessors/closing"><code>closing</code></a> chars of the <a href=".."><code>Wrapper</code></a> object.</p>                                                                                                                                                                                                                                                                                                |
| <p><a href="instance/textreplaceclosing"><strong>textReplaceClosing()</strong></a><br>Replaces the <a href="../../../wrap/accessors#wrap.prototype.closing"><code>closing</code></a> chars of the <a href=".."><code>Wrapper</code></a> object in the <a href="../../wrap/accessors/text"><code>text</code></a> of the <a href=".."><code>Wrapper</code></a> object with the given <a href="textreplaceclosing#closing-string"><code>closing</code></a> chars.</p>                                                                                                                                                                                             |
| <p><a href="instance/textreplaceopening"><strong>textReplaceOpening()</strong></a><br>Replaces the <a href="../../wrap/accessors/opening"><code>opening</code></a> chars of the <a href=".."><code>Wrapper</code></a> object in the <a href="../../wrap/accessors/text"><code>text</code></a> of the <a href=".."><code>Wrapper</code></a> object with the given <a href="textreplaceopening#opening-string"><code>opening</code></a> chars.</p>                                                                                                                                                                                                               |
| <p><a href="instance/textunwrap"><strong>textUnwrap()</strong></a><br>The method returns the <a href="../../wrap/accessors/text"><code>text</code></a> of the <a href=".."><code>Wrapper</code></a> object without its <a href="../../../wrap/accessors#wrap.prototype.opening"><code>opening</code></a> and <a href="../../../wrap/accessors#wrap.prototype.closing"><code>closing</code></a> chars or the given <a href="#opening-string"><code>opening</code></a> and <a href="#closing-string"><code>closing</code></a> chars.</p>                                                                                                                         |
| <p><a href="instance/textwrap"><strong>textWrap()</strong></a><br>The method returns the <a href="../../wrap/accessors/text"><code>text</code></a> of the <a href=".."><code>Wrapper</code></a> object wrapped by the given <a href="textwrap#opening-textopening"><code>opening</code></a> and <a href="textwrap#closing-textclosing"><code>closing</code></a> chars.</p>                                                                                                                                                                                                                                                                                     |
| <p><a href="instance/toarray"><strong>toArray()</strong></a><br>Returns an <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array"><code>array</code></a> consisting of the <a href="../../wrap/accessors/opening"><code>opening</code></a> chars, <a href="../../wrap/accessors/text"><code>text</code></a>, and <a href="../../wrap/accessors/closing"><code>closing</code></a> chars.</p>                                                                                                                                                                                                                          |
| <p><a href="instance/towrap"><strong>toWrap()</strong></a><br>Returns the <a href="../../wrap"><code>Wrap</code></a> instance consists of the <a href="../../wrap/accessors/text"><code>text</code></a>, <a href="../../wrap/accessors/opening"><code>opening</code></a> and <a href="../../wrap/accessors/closing"><code>closing</code></a> chars of the <a href=".."><code>Wrapper</code></a> object.</p>                                                                                                                                                                                                                                                    |
| <p><a href="instance/unwrap"><strong>unwrap()</strong></a><br>Returns the <a href="../../wrap/accessors/text"><code>text</code></a> without the <a href="../../wrap/accessors/opening"><code>opening</code></a> and <a href="../../wrap/accessors/closing"><code>closing</code></a> chars.</p>                                                                                                                                                                                                                                                                                                                                                                 |
| <p><a href="instance/unwraptext"><strong>unwrapText()</strong></a><br>The method returns the <a href="../../wrap/methods/instance/valueof">primitive value</a> of a specified <a href=".."><code>Wrapper</code></a> object with <a href="../../wrap/accessors/text"><code>text</code></a> unwrapped from the <a href="../../wrap/accessors/opening"><code>opening</code></a> and <a href="../../wrap/accessors/closing"><code>closing</code></a> chars of the <a href=".."><code>Wrapper</code></a> instance or given <a href="unwraptext#opening-string"><code>opening</code></a> and <a href="unwraptext#closing-string"><code>closing</code></a> chars.</p> |
| <p><a href="instance/wrap"><strong>★ wrap()</strong></a><br>The method wraps the <a href="../../wrap/methods/instance/valueof">primitive value</a> of a specified <a href=".."><code>Wrapper</code></a> object by its <a href="../../wrap/accessors/opening"><code>opening</code></a> and <a href="../../wrap/accessors/closing"><code>closing</code></a> chars, or the given <a href="wrap#opening-customopening"><code>opening</code></a> and <a href="wrap#closing-customclosing"><code>closing</code></a> chars.</p>                                                                                                                                       |
| <p><a href="instance/wrapon"><strong>★ wrapOn()</strong></a><br>The method wraps the given <a href="wrapon#text-customtext"><code>text</code></a> with the wrap, the <a href="../../wrap/accessors/opening"><code>opening</code></a>, and <a href="../../wrap/accessors/closing"><code>closing</code></a> chars of the <a href="../overview"><code>Wrapper</code></a> object.</p>                                                                                                                                                                                                                                                                              |
| <p><a href="instance/wraptext"><strong>★ wrapText()</strong></a><br>The method returns the <a href="../../wrap/methods/instance/valueof">primitive value</a> of the <a href=".."><code>Wrapper</code></a> object with <a href="../../wrap/accessors/text"><code>text</code></a> wrapped by given <a href="wraptext#opening-textopening"><code>opening</code></a> and <a href="wraptext#closing-textclosing"><code>closing</code></a> chars.</p>                                                                                                                                                                                                                |
