[#miniscript-IsTapscript]
= xref:miniscript.adoc[miniscript]::IsTapscript
:relfileprefix: ../
:mrdocs:

Whether the context Tapscript, ensuring the only other possibility is P2WSH&period;

== Synopsis

Declared in `&lt;script&sol;miniscript&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
bool
IsTapscript(xref:miniscript/MiniscriptContext.adoc[MiniscriptContext] ms&lowbar;ctx);
----

== Return Value

True if the context is Tapscript, false if P2WSH&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ms&lowbar;ctx*
| The Miniscript context to test&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
