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

Method asObject

include/cpp/Variant.h:58–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 inline bool isString() const;
57 inline double asDouble() const;
58 inline hx::Object *asObject() const { return type==typeObject ? valObject : 0; }
59 inline hx::Object *asDynamic() const{ return type==typeObject ? valObject : toDynamic(); }
60 inline hx::Object *toDynamic() const; // later
61 inline String asString() const;

Callers 9

runObjectMethod · 0.80
ArrayMethod · 0.80
StructMethod · 0.80
PointerMethod · 0.80
VirtualArrayMethod · 0.80
ObjectPtrMethod · 0.80
NativeMethod · 0.80
CallableMethod · 0.80
CallableMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected