Question 49873
It could be.

For example:

f(x): 1 if x<2
    : 2 if x>=2

The "f" is a function.

Cheers,
Stan H.