product

fun List<Int>.product(): Int

Return the product of all vals in the list, or 1 if the list if empty.


val IntArray.product: Int