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

Check whether there is no duplicate key across this fragment and all its sub&hyphen;fragments&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
CheckDuplicateKey() const;
----

== Return Value

True if no key is duplicated within this fragment or its subfragments&period;


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