cons function
dynamic
cons(
- dynamic x$1,
- dynamic coll$1
Implementation
dc.dynamic cons(dc.dynamic x$1, dc.dynamic coll$1, ){
if((null==coll$1)){
return lcoc_core.PersistentList(null, x$1, null, 1, -1, );
}
if(((lcoc_core.ISeq.satisfies(coll$1, )) as dc.bool)){
return lcoc_core.Cons(null, x$1, coll$1, -1, );
}
final dc.dynamic o7603$1=coll$1;
late final dc.dynamic $if_$1;
if((o7603$1 is lcoc_core.ISeqable$iface)){
$if_$1=((o7603$1 as lcoc_core.ISeqable$iface).$_seq$0());
}else{
$if_$1=((lcoc_core.ISeqable.extensions(o7603$1, ) as lcoc_core.ISeqable$ext).$_seq$0(o7603$1, ));
}
return lcoc_core.Cons(null, x$1, $if_$1, -1, );
}