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

Function concat

include/cpp/VirtualArray.h:471–478  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

469 Dynamic shift() { checkBase(); return store==hx::arrayEmpty ? null() : base->__shift(); }
470
471 VirtualArray concat( VirtualArray inTail )
472 {
473 inTail->checkBase();
474 EnsureArrayStorage(inTail);
475 if (inTail->__length()<1)
476 return copy();
477 return new VirtualArray_obj( base->__concat(inTail), store==hx::arrayFixed );
478 }
479 VirtualArray copy( )
480 {
481 checkBase();

Callers 1

__concatFunction · 0.85

Calls 2

copyFunction · 0.85
__lengthMethod · 0.45

Tested by

no test coverage detected