Return true if the specified object has a selection with the specified selectionName of the specified selectionNameLength, and false otherwise.
Declared in <bdlat_choicefunctions.h>
template<class TYPE>
bool
hasSelection(
TYPE const& object,
char const* selectionName,
int selectionNameLength);
true if object has the named selection, and false otherwise
| Name | Description |
|---|---|
| object | choice object to query |
| selectionName | name of the selection to look up |
| selectionNameLength | length of selectionName |