map

inline fun <T> Int.map(body: (Int) -> T): List<T>

Simple convenience function for mapping from 0 to the given Int, exclusively.


inline fun <T> Long.map(body: (Long) -> T): List<T>

Simple convenience function for mapping from 0 to the given Long, exclusively.