We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba87de9 commit 84f8f07Copy full SHA for 84f8f07
src/main/kotlin/org/jetbrains/kotlin/jupyter/protocol.kt
@@ -390,3 +390,5 @@ fun JupyterConnection.evalWithIO(maybeConfig: OutputConfig?, body: () -> EvalRes
390
System.setOut(out)
391
}
392
393
+
394
+fun String.nullWhenEmpty(): String? = if (this.isBlank()) null else this
0 commit comments