getOrModify

abstract fun getOrModify(source: S): Either<T, A>

Get the focus of an OptionalGetter or return the original value while allowing the type to change if it does not match