parsegraph-isrtl
TypeScript icon, indicating that this package has built-in type declarations

1.4.15 • Public • Published

parsegraph-isrtl

This module provides two functions for determining the directionality of characters.

isRTL(str:string):boolean

Tests a string if its characters are entirely right-to-left characters.

isBrowserRTL():boolean

Tests if the browser's current locale is RTL.

/parsegraph-isrtl/

    Package Sidebar

    Install

    npm i parsegraph-isrtl

    Weekly Downloads

    27

    Version

    1.4.15

    License

    MIT

    Unpacked Size

    19.3 kB

    Total Files

    10

    Last publish

    Collaborators

    • dafrito
    • tracy3