<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "BitcoinKernel",
  "identifier" : "/documentation/BitcoinKernel/Txid/equals(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "BitcoinKernel"
    ],
    "preciseIdentifier" : "s:13BitcoinKernel4TxidC6equalsySbACF"
  },
  "title" : "equals(_:)"
}
-->

# equals(_:)

Whether two TXIDs are byte-for-byte equal. Delegates to the
kernel’s `btck_txid_equals` for the canonical comparison.

```
func equals(_ other: Txid) -> Bool
```