View as Markdown

API reference: @salmonui/core/format

isRtlLocalefunction

import { isRtlLocale } from '@salmonui/core/format';
function isRtlLocale(locale: string): boolean;

True for right-to-left locales (ar, he-IL, fa, ur-PK, az-Arab, ...). Invalid locales are LTR.