map

open fun map(from: FROM): TO

Map from to an instance of TO.

Return

from mapped to an instance of TO.

Parameters

from

the source value.