NonNegative[x] gives True if x is a non-negative number.
Evaluate different types of numbers: In[1]:=NonNegative[{1.6, 3/4, Pi, 0, -5, 1 + I, Sin[10^5]}] Out[1]={True, True, True, True, False, False, True} Quantities that are not NumericQ remain unevaluated: In[2]:=NonNegative[{x, Sin[y]}] Out[2]={NonNegative[x], NonNegative[Sin[y]]}
Listable | Protected
Negative | Positive | NonPositive | RealSign | Greater | Simplify | Assumptions
1036th most common (1 in 108000 symbols)
640th most common (1 in 71100 symbols)
3099th most common (1 in 108000 symbols)
introduced in Version 1 (June 1988)