map

open fun <X> map(lens: Lens<D, X>): Inspector<X>

creates a new Inspector for a part of your underlying data-model

Parameters

lens

a Lens describing, of which part of your data model you want to have the next Inspector