```when(a.x) { is Float -> { ...
# announcements
e
Copy code
when(a.x) {
            is Float -> {
                res.x = (a.x as Float) < b.x.toFloat()
                res.y = (a.y as Float) < b.y.toFloat()
            }
knowing that
a.x
is a Float, is it better to have
res.x = (a.x as Float) < b.x.toFloat()
or
res.x = a.x.toFloat() < b.x.toFloat()
?