(rontolisp) docs
← Threading

cond->

(cond-> expr test step...)

Threads expr through the steps, each list step taking the value second like ->, but a step applies only when its test is truthy; every test evaluates either way, and the answer is the last value the threading reached. Lowers to the threaded calls around one temporary.