[#XOnlyPubKey-operator_eq] = xref:XOnlyPubKey.adoc[XOnlyPubKey]::operator== :relfileprefix: ../ :mrdocs: Compare two x‐only pubkeys for equality. == Synopsis Declared in `<pubkey.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool operator==(xref:XOnlyPubKey.adoc[XOnlyPubKey] const& other) const; ---- == Return Value true if both keys have identical data. == Parameters [cols="1,4"] |=== | Name| Description | *other* | The pubkey to compare against. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#