()
| 21932 | if (_rtl !== isRTL) _rtl = isRTL; |
| 21933 | } |
| 21934 | function getRTL() { |
| 21935 | if (_rtl === undefined) _rtl = typeof document !== "undefined" && !!document.documentElement && document.documentElement.getAttribute("dir") === "rtl"; |
| 21936 | return _rtl; |
| 21937 | } |
| 21938 | // This has been split into 2 lines because it was working in Fabric due to the code being transpiled to es5, so this |
| 21939 | // was converted to var while not working in Fluent that uses babel to transpile the code to be es6-like. Splitting the |
| 21940 | // logic into two lines, however, allows it to work in both scenarios. |
no test coverage detected