split_with function

dynamic split_with(
  1. dynamic pred$1,
  2. dynamic coll$1
)

Implementation

dc.dynamic split_with(dc.dynamic pred$1, dc.dynamic coll$1, ){
final dc.List<dc.dynamic> fl$1=(dc.List<dc.dynamic>.filled(2, (lcoc_core.take_while.$_invoke$2(pred$1, coll$1, )), ));
fl$1[1]=(lcoc_core.drop_while.$_invoke$2(pred$1, coll$1, ));
return lcoc_core.$_vec_owning(fl$1, );
}