Logo

Programming-Idioms

History of Idiom 110 > diff from v42 to v43

Edit summary for version 43 by MrEbbinghaus:
New Clojure implementation by user [MrEbbinghaus]

Version 42

2019-09-27, 10:10:45

Version 43

2019-09-27, 11:25:46

Idiom #110 Check if string is blank

Set boolean blank to true if string s is empty, or null, or contains only whitespace ; false otherwise.

Idiom #110 Check if string is blank

Set boolean blank to true if string s is empty, or null, or contains only whitespace ; false otherwise.

Imports
(require '[clojure.string :refer [blank?]])
Code
(blank? s)
Doc URL
https://clojuredocs.org/clojure.string/blank_q