as

open fun <R> as(adapter: (T) -> R): PropertyMapper.Source<R>

Return an adapted version of the source changed through the given adapter function.

Return

a new adapted source instance

Parameters

<R>

the resulting type

adapter

the adapter to apply