PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
|
Determine if the user answered positively or negatively. More...
#include <PropWare/utility/comparator.h>
Public Member Functions | |
YesNoComparator () | |
Required default constructor. | |
virtual bool | valid (const char *userInput) const |
Determines if the given argument is valid. | |
Determine if the user answered positively or negatively.
Accepts yes, no, n, and y. Input string is set to lowercase to allow for a case-insensitive comparison.
Definition at line 71 of file comparator.h.