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

Method isResultTy

include/ast/component/type.h:304–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

302 return std::holds_alternative<OptionTy>(Type);
303 }
304 bool isResultTy() const noexcept {
305 return std::holds_alternative<ResultTy>(Type);
306 }
307 bool isOwnTy() const noexcept { return std::holds_alternative<OwnTy>(Type); }
308 bool isBorrowTy() const noexcept {
309 return std::holds_alternative<BorrowTy>(Type);

Callers 2

validateMethod · 0.80
containsBorrowMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected