跳转至

Not(Not(非))

Supported in: Batch, Faster, Streaming

Returns the negated boolean value of a boolean expression.

Expression categories: Boolean

Declared arguments

  • Expression: The boolean value to negate.
    Expression\

Output type: Boolean

Examples

Example 1: Base case

Argument values:

  • Expression: boolean
boolean Output
true false
false true

Example 2: Null case

Argument values:

  • Expression: null

Output: null



中文翻译


Not(非)

支持环境:批处理(Batch)、快速处理(Faster)、流处理(Streaming)

返回布尔表达式取反后的布尔值。

表达式类别: 布尔(Boolean)

声明的参数

  • 表达式(Expression): 需要取反的布尔值。
    表达式\<布尔值>

输出类型: 布尔值(Boolean)

示例

示例1:基础情况

参数值:

  • 表达式(Expression): 布尔值(boolean)
布尔值(boolean) 输出(Output)
true false
false true

示例2:空值情况

参数值:

  • 表达式(Expression): 空值(null)

输出: 空值(null)