MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / isContext

Function isContext

lib/api/wasmedge.cpp:295–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293// Helper template to run and return result.
294auto EmptyThen = [](auto &&) noexcept {};
295template <typename T> inline bool isContext(T *Cxt) noexcept {
296 return (Cxt != nullptr);
297}
298template <typename T, typename... Args>
299inline bool isContext(T *Cxt, Args *...Cxts) noexcept {
300 return isContext(Cxt) && isContext(Cxts...);

Callers 1

wrapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected