wire-runtime / com.squareup.wire.internal / Internal / checkElementsNotNull

checkElementsNotNull

static fun checkElementsNotNull(list: MutableList<*>): Unit

Throw NullPointerException if list or one of its items are null.

static fun checkElementsNotNull(map: MutableMap<*, *>): Unit

Throw NullPointerException if map or one of its keys or values are null.