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

Function val_bool

src/hx/CFFI.cpp:279–283  ·  view source on GitHub ↗

Extract hx::Object * type

Source from the content-addressed store, hash-verified

277
278// Extract hx::Object * type
279bool val_bool(hx::Object * arg1)
280{
281 if (arg1==0) return false;
282 return arg1->__ToInt()!=0;
283}
284
285
286int val_int(hx::Object * arg1)

Callers

nothing calls this directly

Calls 1

__ToIntMethod · 0.45

Tested by

no test coverage detected