WordPress at a glance
function is not described

WP_Locale::is_rtl() public WP 3.0.0

Checks if current locale is RTL.

{} It's a method of the class: WP_Locale{}

No Hooks.

Return

true/false. Whether locale is RTL.

Usage

$WP_Locale = new WP_Locale();
$WP_Locale->is_rtl();

Changelog

Since 3.0.0 Introduced.

Code of WP_Locale::is_rtl() WP 5.5.1

<?php
public function is_rtl() {
	return 'rtl' === $this->text_direction;
}