[lib] add {[thing1|thing2]} - returns the first one that exists