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