[#BloombergLP-bdlat_ChoiceFunctions-bdlat_choiceHasSelection-0a] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat_ChoiceFunctions.adoc[bdlat_ChoiceFunctions]::bdlat_choiceHasSelection :relfileprefix: ../../ :mrdocs: Default customization‐point implementation of `hasSelection` by name. == Synopsis Declared in `<bdlat_choicefunctions.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> bool bdlat_choiceHasSelection( TYPE const& object, char const* selectionName, int selectionNameLength); ---- == Return Value `true` if `object` has the named selection, and `false` otherwise == Parameters [cols="1,4"] |=== | Name| Description | *object* | choice object to query | *selectionName* | name of the selection to look up | *selectionNameLength* | length of `selectionName` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#