[#CoinsViewCacheCursor-WillErase]
= xref:CoinsViewCacheCursor.adoc[CoinsViewCacheCursor]::WillErase
:relfileprefix: ../
:mrdocs:

Report whether the given entry will be erased after BatchWrite returns&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
WillErase(xref:CoinsCachePair.adoc[CoinsCachePair]& current) const noexcept;
----

== Return Value

True if the entry will be erased (the whole map is being wiped, or the coin is spent)&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *current*
| The entry to test&period;
|===


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