Tests if the document is in RTL mode.
- Since
- 1.0.0
- Source
Returns:
Whether the document is in RTL mode.
- Type:
- boolean
Example
import { isRtl } from "@gravityforms/utils";
function Example() {
if ( isRtl() ) {
// do something
}
}