[#RPCArg-Optional]
= xref:RPCArg.adoc[RPCArg]::Optional
:relfileprefix: ../
:mrdocs:

Whether an argument is required or may be omitted&period;

== Synopsis

Declared in `&lt;rpc&sol;util&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
enum class Optional : int;
----

== Members

[cols="1,4"]
|===
| Name| Description
| `NO` 
| Required arg
| `OMITTED` 
| Optional argument for which the default value is omitted from help text for one of two reasons&colon; &hyphen; It&apos;s a named argument and has a default value of `null`&period; &hyphen; Its default value is implicitly clear&period; That is, elements in an array may not exist by default&period; When possible, the default value should be specified&period;
|===



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