Package: alexandria

Function ensure-cons

Lambda List

ensure-cons (cons)

Details

If cons is a cons, it is returned. Otherwise returns a fresh cons with cons in the car, and nil in the cdr.