MCPcopy Create free account
hub / github.com/docopt/docopt.cpp / isBool

Method isBool

docopt_value.h:54–54  ·  view source on GitHub ↗

Test the type contained by this value object

Source from the content-addressed store, hash-verified

52
53 // Test the type contained by this value object
54 bool isBool() const { return kind_==Kind::Bool; }
55 bool isString() const { return kind_==Kind::String; }
56 bool isLong() const { return kind_==Kind::Long; }
57 bool isStringList() const { return kind_==Kind::StringList; }

Callers 2

docopt.cppFile · 0.80
OptionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected