Lists

object Lists(source)

Container object for utility functions related to Lists.

Functions

Link copied to clipboard
fun <T> List<T>.takeFraction(percentage: Double): List<T>

Takes the first percentage * size elements of the list.