Not function

The Not function is typically used in conditions to specify negative or complimentary conditions.

Returns true if the parameter evaluates as false. Returns false if the parameter evaluates as true.

Parameter: datatype

Any number, string, date, time, or boolean value. This can come from a source node, the result of a function, or a value you specify.

Returns: boolean

The boolean inverse of the parameter. The evaluation rules depend on the datatype of the parameter.

For number datatypes:
  • Positive and negative zero evaluate as false
  • Any other number evaluates as true
For string, any date or any time datatypes:
  • An empty string evaluates as false
  • Any other string, date or time evaluates as true
For the boolean datatype:
  • The evaluation returns the inverse value



Feedback | Notices


Timestamp icon Last updated: Wednesday, 15 June 2016


http://pic.dhe.ibm.com/infocenter/wci/v7r0m0/topic/com.ibm.wci.doc/ref_Not.html