$_invoke$vararg method
dynamic
$_invoke$vararg(
- dynamic f$1,
- dynamic a$1,
- dynamic b$1,
- dynamic c$1,
- dynamic d$1,
- dynamic args$1,
override
Implementation
dc.dynamic $_invoke$vararg(dc.dynamic f$1, dc.dynamic a$1, dc.dynamic b$1, dc.dynamic c$1, dc.dynamic d$1, dc.dynamic args$1, ){
final dc.dynamic args$2=lcoc_core.cons(a$1, lcoc_core.cons(b$1, lcoc_core.cons(c$1, lcoc_core.cons(d$1, lcoc_core.spread(args$1, ), ), ), ), );
if(((lcoc_core.IFn.satisfies(f$1, )) as dc.bool)){
final dc.dynamic this7433$1=f$1;
final dc.dynamic more7434$1=args$2;
if((this7433$1 is lcoc_core.IFn$iface)){
return ((this7433$1 as lcoc_core.IFn$iface).$_apply$1(more7434$1, ));
}
return ((lcoc_core.IFn.extensions(this7433$1, ) as lcoc_core.IFn$ext).$_apply$1(this7433$1, more7434$1, ));
}
final dc.dynamic maybe_f$1=f$1;
late final dc.Function wrapper_f$1;
if((maybe_f$1 is dc.Function)){
wrapper_f$1=maybe_f$1;
}else{
wrapper_f$1=(){
if((maybe_f$1 is dc.Function)){
return (maybe_f$1 as dc.Function)();
}
if((maybe_f$1 is lcoc_core.IFn$iface)){
return ((maybe_f$1 as lcoc_core.IFn$iface).$_invoke$0());
}
return (lcoc_core.IFn.extensions(maybe_f$1, ).$_invoke$0(maybe_f$1, ));
};
}
return (dc.Function.apply(wrapper_f$1, lcoc_core.to_array(args$2, ), ));
}