# Static

|                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><a href="static/define"><strong>define()</strong></a><br>Defines a new <a href=".."><code>Wrapper</code></a> instance with the provided <a href="define#opening-opening"><code>opening</code></a>, <a href="define#closing-closing"><code>closing</code></a> chars, and optional <a href="define#text-text"><code>text</code></a>.</p>                                                                                               |
| <p><a href="static/iswrapper"><strong>isWrapper()</strong></a><br>The method checks if the <a href="iswrapper#value-any"><code>value</code></a> of any type is an instance of the <a href=".."><code>Wrapper</code></a> of any, or given <a href="iswrapper#opening-opening"><code>opening</code></a>, <a href="iswrapper#closing-closing"><code>closing</code></a> chars, and <a href="iswrapper#text-text"><code>text</code></a>.</p> |
| <p><a href="static/replaceclosing"><strong>replaceClosing()</strong></a><br>Replaces given <a href="replaceclosing#closing-string"><code>closing</code></a> chars with a given <a href="replaceclosing#replacevalue-string">replacement value</a> at the end of the given <a href="replaceclosing#text-string"><code>text</code></a>.</p>                                                                                               |
| <p><a href="static/replaceopening"><strong>replaceOpening()</strong></a><br>Replaces given <a href="replaceopening#opening-string"><code>opening</code></a> chars with a given <a href="replaceopening#replacevalue-string">replacement value</a> at the beginning of the given <a href="replaceopening#text-string"><code>text</code></a>.</p>                                                                                         |
| <p><a href="static/unwrap"><strong>unwrap()</strong></a><br>The method returns the given <a href="unwrap#text-string"><code>text</code></a> without the given <a href="unwrap#opening-string"><code>opening</code></a> and <a href="unwrap#closing-string"><code>closing</code></a> chars.</p>                                                                                                                                          |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wrapper.angular-package.dev/wrapper/methods/static.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
