Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1393
bool Value::Comments::has(CommentPlacement slot) const {
1394
return ptr_ && !(*ptr_)[slot].empty();
1395
}
1396
1397
String Value::Comments::get(CommentPlacement slot) const {
1398
if (!ptr_)
Callers
1
hasComment
Method · 0.80
Calls
1
empty
Method · 0.45
Tested by
no test coverage detected