core-ktx / androidx.util / android.util.SizeF / component2

component2

inline operator fun SizeF.component2(): Float

Returns "height", the second component of this SizeF.

This method allows to use destructuring declarations when working with sizes, for example:

val (w, h) = mySize