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

Update duplicate key information in this Node&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename Ctx&gt;
void
DuplicateKeyCheck(Ctx const& ctx) const;
----

== Description

This uses a custom key comparator provided by the context in order to still detect duplicates for more complicated types&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Context providing the key comparator used to detect duplicates&period;
|===


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