when-let与if-let类似,只有绑定变量值不是false、nil时,才执行后面所有语句,否则直接返回nil。 user=> (when-let [a true] (println "true") "return ...
確定! 回上一頁