int function

int int(
  1. dynamic x$1
)

Implementation

dc.int int(dc.dynamic x$1, ){
if((x$1 is dc.String)){
return ((x$1 as dc.String).codeUnitAt(0, ));
}
return ((x$1 as dc.num).toInt());
}