New to Telerik Document Processing? Start a free 30-day trial

Not

Class

Implements the NOT function, which reverses the boolean value of its argument, returning FALSE for TRUE and TRUE for FALSE.

Definition

Constructors

Initializes a new NOT function instance for logical negation.

C#
public Not()

Fields

The name of the function.

C#
public static readonly string FunctionName

Properties

Gets the rules controlling how arguments are converted before evaluation.

C#
public override ArgumentConversionRules ArgumentConversionRules { get; }
Property Value:

The argument conversion rules as ArgumentConversionRules.

Overrides: BooleansInFunction.ArgumentConversionRules

Gets metadata describing the function's category, description, and argument structure.

C#
public override FunctionInfo FunctionInfo { get; }
Property Value:

The function info as FunctionInfo.

Overrides: FunctionBase.FunctionInfo

When true, FunctionBase automatically evaluates this function element-wise over any multi-element array argument and returns a spilled array result. Override to true in pure scalar functions (e.g. ABS, LEN, MOD) where applying the function independently to each element of an input array is the correct dynamic-array behavior. Leave false (the default) for reducers.

C#
public override bool LiftsOverArrays { get; }

Overrides: FunctionBase.LiftsOverArrays

Gets the function name "NOT" used in formulas.

C#
public override string Name { get; }
Property Value:

The name as String.

Overrides: FunctionBase.Name

Methods

Evaluates the function by inverting the boolean argument and returning the opposite value.

C#
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<bool> context)
Parameters:contextFunctionEvaluationContext<bool>

The context.

Returns:

RadExpression

Functions result as RadExpression.

Overrides: FunctionWithSameTypeArguments<bool>.EvaluateOverride(FunctionEvaluationContext<bool>)