Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ThePhD/sol2
/ as
Method
as
include/sol/lua_value.hpp:122–125 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
120
121
template <typename T>
122
decltype(auto) as() const {
123
ref_value.push();
124
return stack::pop<T>(ref_value.lua_state());
125
}
126
127
template <typename T>
128
bool is() const {
Callers
nothing calls this directly
Calls
2
push
Method · 0.45
lua_state
Method · 0.45
Tested by
no test coverage detected