[#Consensus-ValidDeployment-03]
= xref:Consensus.adoc[Consensus]::ValidDeployment
:relfileprefix: ../
:mrdocs:

Returns true if the given version&hyphen;bits deployment identifier is a valid enumerator&period;

== Synopsis

Declared in `&lt;consensus&sol;params&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
bool
ValidDeployment(xref:Consensus/DeploymentPos.adoc[DeploymentPos] dep);
----

== Return Value

true if dep is a recognized DeploymentPos value&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *dep*
| The version&hyphen;bits deployment to check&period;
|===


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