MCPcopy Create free account
hub / github.com/HumbleNet/HumbleNet / has_any_options

Function has_any_options

src/api_builder/build_csharp.cpp:76–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74
75template<typename T>
76static bool has_any_options( json_value* options, const T& list ) {
77 if( !options )
78 return false;
79
80 for( auto& option : list ) {
81 if( has_option( options, option ) )
82 return true;
83 }
84
85 return false;
86}
87
88static std::unordered_set< std::string > split( const std::string& s, char delimiter ) {
89 std::unordered_set< std::string > parts;

Callers 1

write_functionsFunction · 0.85

Calls 1

has_optionFunction · 0.85

Tested by

no test coverage detected