BloombergLP::bdlar::ChoiceConstRef::hasSelection

Return true if the object has a selection with the specified selectionName of the specified selectionNameLength, and false otherwise.

Synopsis

Declared in <bdlar_choiceref.h>

bool
hasSelection(
    char const* selectionName,
    int selectionNameLength) const;