orNull

infix fun orNull(value: String): NotBlankString?

Returns the value as a NotBlankString, or returns null if the value is blank.