``` if (videoAnswer.error == null && thumb...
# codereview
d
Copy code
if (videoAnswer.error == null && thumbAnswer.error == null) {
	val videoUrl = videoAnswer?.body // Two nullable properties
	val thumbUrl = thumbAnswer?.body

	if (videoUrl != null && thumbUrl != null) {

	  // Need both here non null
	  val video = NewVideo(title, description, videoUrl, thumbUrl)
	  videoRepository?.sendVideo(video)?.composeForIoTasks()
	}
}
Guys how can I use two
nullable
variables when
nonnull
?