Skip to content

Which

Returns the first value whose test evaluates to True.

$ wo 'Which[2 > 1, "a", True, "b"]'
a