$_reduce$1 method

dynamic $_reduce$1(
  1. dynamic rf$1
)
override

Implementation

dc.dynamic $_reduce$1(dc.dynamic rf$1, ){
final dc.Iterator it$1=(lcoc_core.iterator.$_invoke$2(xform, coll, ));
if((it$1.moveNext())){
dc.dynamic acc$1=it$1.current;
do {
if((it$1.moveNext())){
final dc.dynamic arg$1=it$1.current;
late final dc.dynamic acc$2;
if((rf$1 is dc.Function)){
acc$2=(rf$1 as dc.Function)(acc$1, arg$1, );
}else if((rf$1 is lcoc_core.IFn$iface)){
acc$2=((rf$1 as lcoc_core.IFn$iface).$_invoke$2(acc$1, arg$1, ));
}else{
acc$2=(lcoc_core.IFn.extensions(rf$1, ).$_invoke$2(rf$1, acc$1, arg$1, ));
}
if(lcoc_core.reduced$QMARK_(acc$2, )){
return lcoc_core.unreduced(acc$2, );
}
acc$1=acc$2;
continue;
}
return acc$1;
} while(true);
}
if((rf$1 is dc.Function)){
return (rf$1 as dc.Function)();
}
if((rf$1 is lcoc_core.IFn$iface)){
return ((rf$1 as lcoc_core.IFn$iface).$_invoke$0());
}
return (lcoc_core.IFn.extensions(rf$1, ).$_invoke$0(rf$1, ));
}