core-ktx / androidx.util / java.util.Locale

Extensions for java.util.Locale

layoutDirection

val Locale.layoutDirection: Int

Returns layout direction for a given locale.