mapIfNotNullOrNotEquals

inline fun String?.mapIfNotNullOrNotEquals(other: String, mapper: (String) -> String): String?

If not null or equal to the given string, return the string with the given mapping lambda applied, otherwise null.