From 7628a0c5264286465007706e84f9269eb7f77387 Mon Sep 17 00:00:00 2001 From: Dustin Getz Date: Fri, 13 Sep 2024 10:36:29 -0400 Subject: [PATCH] contrib.str: improve docstring --- src/contrib/str.cljc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/contrib/str.cljc b/src/contrib/str.cljc index f6995cbdb..78f5f3022 100644 --- a/src/contrib/str.cljc +++ b/src/contrib/str.cljc @@ -86,7 +86,7 @@ (clojure.core/not-empty "a") := "a" ) -(defn blank->nil "Nullify empty strings, identity on all other values." [s] +(defn blank->nil "Nullify blank whitespace strings, identity on all other values." [s] (if-not (string? s) s ; don't fail (if-not (clojure.string/blank? s) s nil)))