\cases - for piecewise-defined functions.
{ \cases{ <math> & <math> \cr <repeat as needed> }}
The result is of class REL (binary relation), so it has the spacing of a relation.
|x| = \cases{ x & \text{if } x\ge 0\cr -x & \text{if } x\lt 0 }