@plexus Isn't there quite strong concensus that functions ending in question mark should return boolean? Sets return the item, which isn't boolean, necessarily.
Top-level
@plexus Isn't there quite strong concensus that functions ending in question mark should return boolean? Sets return the item, which isn't boolean, necessarily. 2 comments
@plexus I read this from Clojure FAQ โMore specifically, a trailing ? indicates that a predicate strictly returns a boolean result (true or false)โ https://clojure.org/guides/faq#qmark_bang |
@rap1ds is there? I think the only concensus is that it's generally a predicate, so output should be truthy/falsy.