Return true if the specified ref has the selection identified by the specified selectionId, and false otherwise.
Declared in <bdlar_choiceref.h>
bool
bdlat_choiceHasSelection(
ChoiceConstRef const& ref,
int selectionId);
true if the selection exists, and false otherwise
| Name | Description |
|---|---|
| ref | choice reference to query |
| selectionId | id of the selection to look up |