This library will help you to detect if the text is in right-to-left language or not
const isRtlText = require('is-rtl-text')
isRtlText('Text String')
// false
isRtlText('test Urduہیلو')
// true
This software is licensed under the MIT.
This library will help you to detect if the text is in right-to-left language or not
JavaScriptMIT
This library will help you to detect if the text is in right-to-left language or not
const isRtlText = require('is-rtl-text')
isRtlText('Text String')
// false
isRtlText('test Urduہیلو')
// true
This software is licensed under the MIT.