apply

open suspend fun apply(parent: P, mapper: suspend (T) -> T): P

manipulates the focus target's value inside the parent

Parameters

parent

concrete instance to apply the focus to

mapper

function defining the manipulation