[#CheckDataDirOption]
= CheckDataDirOption
:mrdocs:

Return true if &hyphen;datadir option points to a valid directory or is not specified&period;

== Synopsis

Declared in `&lt;common&sol;args&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
CheckDataDirOption(xref:ArgsManager.adoc[ArgsManager] const& args);
----

== Return Value

true if the &hyphen;datadir path is valid or was not given&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *args*
| Parsed arguments and settings&period;
|===


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