MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / accept

Function accept

include/behaviortree_cpp/contrib/json.hpp:23357–23361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23355 /// @sa https://json.nlohmann.me/api/basic_json/accept/
23356 template<typename InputType>
23357 static bool accept(InputType&& i,
23358 const bool ignore_comments = false)
23359 {
23360 return parser(detail::input_adapter(std::forward<InputType>(i)), nullptr, false, ignore_comments).accept(true);
23361 }
23362
23363 /// @brief check if the input is valid JSON
23364 /// @sa https://json.nlohmann.me/api/basic_json/accept/

Callers

nothing calls this directly

Calls 5

input_adapterFunction · 0.85
moveFunction · 0.85
acceptMethod · 0.80
parserFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected