非函数

函数通常用在指定否定或肯定条件的条件中。

如果参数求值为 false,则返回 true。如果参数求值为 true,则返回 false。

参数:datatype

任何 number、string、date、time 或者 boolean 值。这可以来自源节点、某个函数的结果或者您指定的值。

返回:boolean

与参数相反的布尔值。求值规则基于参数的数据类型。

对于 number 数据类型:
  • 正零和负零求值为 false
  • 任何其他 number 求值为 true
对于 string、date 或 time 数据类型:
  • 空字符串求值为 false
  • 任何其 string、date 或 time 求值为 true
对于 boolean 数据类型:
  • 求值返回相反的值



反馈 | 声明


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