map

fun <B> map(mapper: (A) -> B): Paged<B>(source)

Builds a new Paged by converting every item in this by given mapping function

Return

New Paged containing converted items

Parameters

B

Type to which mapping function converts

mapper

Conversion function