IsNegative

predicates-functions IsNegative

syntax

  • IsNegative(a)

definition

IsNegative(a) results in a boolean data-item with values True for negative and False for postive and zero values of data item a.

applies to

example

attribute<bool> IsNegative (ADomain) := IsNegative(A);
A(float32) IsNegativeA
0 False
null False
1000000 False
-2.5 True
99.9 False

ADomain, nr of rows = 5

see also