[#BloombergLP-bsltf-CopyMoveState-0e-isValid]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsltf.adoc[bsltf]::xref:BloombergLP/bsltf/CopyMoveState-0e.adoc[CopyMoveState]::isValid
:relfileprefix: ../../../
:mrdocs:

Return whether `val` is a valid `CopyMoveState&colon;&colon;Enum` value&period;

== Synopsis

Declared in `&lt;bsltf&lowbar;copymovestate&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
isValid(xref:BloombergLP/bsltf/CopyMoveState-0e/Enum.adoc[Enum] val);
----

== Description

Return `true` if the specified `val` is a valid value of `Enum`&semi; otherwise `false`&period; A valid value is any of the enumerators or the bitwise OR of any of the enumerators except `e&lowbar;UNKNOWN` with `e&lowbar;MOVED&lowbar;FROM`&period;

== Return Value

`true` if `val` is a valid `Enum` value, else `false`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *val*
| enumeration value to validate
|===


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