valueOf

Utility function to get Anchor instance from given value.