textDirection function

Module @runic-artifex/views in @runic-artifex/views 0.23.0

function textDirection(): "ltr" | "rtl" | undefined;

The writing direction of the text locale (textLocale): the Translations runtime's direction, or the direction of the locale's script. undefined while there is no text locale.