MCPcopy Create free account
hub / github.com/bytecodealliance/wit-bindgen / equal

Function equal

tests/runtime/options/runner.cpp:6–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4
5template <class T>
6static bool equal(T const& a, T const& b) {
7 return a==b;
8}
9static bool equal(wit::string const& a, std::string const& b) {
10 return a.get_view() == std::string_view(b);
11}

Callers 1

RunMethod · 0.70

Calls 2

get_viewMethod · 0.45
has_valueMethod · 0.45

Tested by

no test coverage detected