[#XOnlyPubKey-operator_eq]
= xref:XOnlyPubKey.adoc[XOnlyPubKey]::operator&equals;&equals;
:relfileprefix: ../
:mrdocs:

Compare two x&hyphen;only pubkeys for equality&period;

== Synopsis

Declared in `&lt;pubkey&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
operator&equals;&equals;(xref:XOnlyPubKey.adoc[XOnlyPubKey] const& other) const;
----

== Return Value

true if both keys have identical data&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| The pubkey to compare against&period;
|===


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