Return true if the set contains exactly one element. This method runs in constant time.

Synopsis

Declared in <llvm/ADT/ImmutableSet.h>

bool
isSingleton() const;

Return Value

True if the set has exactly one element.

Created with MrDocs