MCPcopy Create free account
hub / github.com/GothenburgBitFactory/taskwarrior / operator!

Method operator!

src/Variant.cpp:1174–1181  ·  view source on GitHub ↗

///////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

1172
1173////////////////////////////////////////////////////////////////////////////////
1174bool Variant::operator!() const {
1175 Variant left(*this);
1176
1177 if (left._type == type_string) Lexer::dequote(left._string);
1178
1179 left.cast(type_boolean);
1180 return !left._bool;
1181}
1182
1183////////////////////////////////////////////////////////////////////////////////
1184Variant& Variant::operator^=(const Variant& other) {

Callers

nothing calls this directly

Calls 1

castMethod · 0.80

Tested by

no test coverage detected