假设我有一张这种形式的map : (def m {:a "A" :b "B"}) 如果 :a 我想做点什么和 :b 都不是零,我可以这样做: (if-let [a (:a m)] (if-let [b (:b m)] ... etc ))
確定! 回上一頁