We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d534c98 commit 7867756Copy full SHA for 7867756
src/main/kotlin/org/jetbrains/kotlin/jupyter/protocol.kt
@@ -349,3 +349,5 @@ fun JupyterConnection.evalWithIO(maybeConfig: OutputConfig?, body: () -> EvalRes
349
System.setOut(out)
350
}
351
352
+
353
+fun String.nullWhenEmpty(): String? = if (this.isBlank()) null else this
0 commit comments