blankToNull

inline fun <T : CharSequence> T.blankToNull(): T?(source)

Returns this CharSequence if it is not blank, null otherwise.