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

Function TCastToArray

include/hx/Operators.h:332–337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

330
331
332inline Array<Dynamic> TCastToArray(Dynamic inVal)
333{
334 Dynamic result = inVal;
335 if (result==null() && inVal!=null()) hx::BadCast();
336 return inVal;
337}
338
339template<typename PTRTYPE> struct DynamicConvertType { enum { Convert = aciNotArray }; };
340

Callers

nothing calls this directly

Calls 2

BadCastFunction · 0.85
nullClass · 0.50

Tested by

no test coverage detected