MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / as

Function as

system/include/emscripten/val.h:520–524  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

518
519 template<typename T, typename ...Policies>
520 T as(Policies...) const {
521 using namespace internal;
522
523 return internalCallWithPolicy<EM_INVOKER_KIND::CAST, WithPolicies<Policies...>, T>(as_handle(), nullptr, *this);
524 }
525
526// Prefer calling val::typeOf() over val::typeof(), since this form works in both C++11 and GNU++11 build modes. "typeof" is a reserved word in GNU++11 extensions.
527 val typeOf() const {

Callers

nothing calls this directly

Calls 1

as_handleFunction · 0.85

Tested by

no test coverage detected