convert To
Deprecated
Use asA() instead
Replace with
let { WebcomResult { it.asA(type) } }
Content copied to clipboard
Converts this DatasyncValue to a given T type.
If the conversion fails, returns a WebcomResult.Failure instance with the error.