dim

fun <D : Dimension> KClass<D>.dim(): Int


inline fun <D : Dimension> Dimension.Companion.dim(): Int

Finds Dimension.dim of given type D.