[#BloombergLP-bdlar-bdlat_choiceHasSelection-03] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::bdlat_choiceHasSelection :relfileprefix: ../../ :mrdocs: Return whether the specified `ref` has the selection with the specified `selectionName` and `selectionNameLength`. == Synopsis Declared in `<bdlar_choiceref.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool bdlat_choiceHasSelection( xref:BloombergLP/bdlar/ChoiceRef.adoc[ChoiceRef] const& ref, char const* selectionName, int selectionNameLength); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#