valueOf

Utility function to get TextWritingMode instance from given value.