last function

dynamic last(
  1. dynamic s$2
)

Implementation

dc.dynamic last(dc.dynamic s$2, ){
dc.dynamic s$1=s$2;
do {
final dc.dynamic sn$1=lcoc_core.next(s$1, );
if((null==sn$1)){
return lcoc_core.first(s$1, );
}
s$1=sn$1;
continue;
} while(true);
}