tv_ensure_editable function

VectorNode tv_ensure_editable(
  1. dynamic edit$1,
  2. dynamic node$1
)

Implementation

lcoc_core.VectorNode tv_ensure_editable(dc.dynamic edit$1, dc.dynamic node$1, ){
if(dc.identical(edit$1, (node$1 as lcoc_core.VectorNode).edit, )){
return (node$1 as lcoc_core.VectorNode);
}
final dc.List arr$1=(node$1 as lcoc_core.VectorNode).arr;
return lcoc_core.VectorNode(edit$1, lcoc_core.aresize(arr$1, arr$1.length, 32, null, ), );
}