Trying out Kotlin for the first time. Are there b...
# android
h
Trying out Kotlin for the first time. Are there better ways to do this:
if (member?.productOwnerships!!.any{ it.active!! })
with
Member
containing `@Ignore @SerializedName("product_ownerships") val productOwnerships : List<Product> = emptyList()`and
Product
containing
open var active: Boolean? = false