[#TxGraph-Exists]
= xref:TxGraph.adoc[TxGraph]::Exists
:relfileprefix: ../
:mrdocs:

Determine whether arg exists in the graph (i&period;e&period;, was not removed)&period; This is available even for oversized graphs&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
bool
Exists(
    xref:TxGraph/Ref.adoc[Ref] const& arg,
    xref:TxGraph/Level.adoc[Level] level) noexcept = 0;
----

== Return Value

True if the transaction exists in the selected graph&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *arg*
| Reference to the transaction to look up&period;
| *level*
| Which graph (main or staging) to query&period;
|===


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