changeIfNotNull

inline fun <T : Any, P : Any> T.changeIfNotNull(parameter: P?, function: T.(P) -> T): T