MCPcopy Create free account
hub / github.com/Kitware/CMake / has

Method has

Utilities/cmjsoncpp/src/lib_json/json_value.cpp:1393–1395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1391}
1392
1393bool Value::Comments::has(CommentPlacement slot) const {
1394 return ptr_ && !(*ptr_)[slot].empty();
1395}
1396
1397String Value::Comments::get(CommentPlacement slot) const {
1398 if (!ptr_)

Callers 1

hasCommentMethod · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected