Skip to content

Positive

Positive[x] returns True if x is positive.

Attributes[Positive] := {Listable, Protected}

Simple examples

In[1]:= Map[Positive, {1, 0, -1, a}]
Out[1]= {True, False, False, Positive[a]}