[#BloombergLP-bdlat_ChoiceFunctions-hasSelection-03]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat_ChoiceFunctions.adoc[bdlat&lowbar;ChoiceFunctions]::hasSelection
:relfileprefix: ../../
:mrdocs:

Return true if the specified `object` has a selection with the specified `selectionName` of the specified `selectionNameLength`, and false otherwise&period;

== Synopsis

Declared in `&lt;bdlat&lowbar;choicefunctions&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
bool
hasSelection(
    TYPE const& object,
    char const* selectionName,
    int selectionNameLength);
----


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