Added the getLayoutDirection function to the Docs