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

Method isOptionTy

include/ast/component/type.h:301–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

299 return std::holds_alternative<EnumTy>(Type);
300 }
301 bool isOptionTy() const noexcept {
302 return std::holds_alternative<OptionTy>(Type);
303 }
304 bool isResultTy() const noexcept {
305 return std::holds_alternative<ResultTy>(Type);
306 }

Callers 2

validateMethod · 0.80
containsBorrowMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected