getOrModify

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

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