convertTo

fun <T : Any> convertTo(type: KClass<T>): WebcomResult<T>

Converts this DatasyncValue to a given T type.

If the conversion fails, returns a WebcomResult.Failure instance with the error.