MCPcopy Create free account
hub / github.com/defold/defold / IsHash

Function IsHash

engine/script/src/script_hash.cpp:56–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 }
55
56 bool IsHash(lua_State *L, int index)
57 {
58 return dmScript::ToUserType(L, index, SCRIPT_HASH_TYPE_HASH) != 0;
59 }
60
61 dmhash_t* ToHash(lua_State *L, int index)
62 {

Callers 9

Script_PropertyFunction · 0.85
GetPropertyTypeFunction · 0.85
Types_IsHashFunction · 0.85
DoCheckTableSizeFunction · 0.85
DoCheckTableFunction · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85
CheckRenderTargetFunction · 0.85

Calls 1

ToUserTypeFunction · 0.85

Tested by 2

TEST_FFunction · 0.68
TEST_FFunction · 0.68