MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / __string_hash_get

Function __string_hash_get

src/hx/Hash.cpp:802–811  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

800
801
802Dynamic __string_hash_get(Dynamic inHash,String inKey)
803{
804 StringHashBase *hash = static_cast<StringHashBase *>(inHash.GetPtr());
805 if (!hash)
806 return null();
807
808 Dynamic result = null();
809 hash->query(inKey,result);
810 return result;
811}
812
813int __string_hash_get_int(Dynamic inHash,String inKey)
814{

Callers 2

FieldMapGetFunction · 0.85
__FieldMethod · 0.85

Calls 3

GetPtrMethod · 0.80
queryMethod · 0.80
nullClass · 0.50

Tested by

no test coverage detected