valueOf

Utility function to get TextAnchor instance from given value.