New to Telerik Document ProcessingStart a free 30-day trial

Tests whether a value is a boolean (TRUE or FALSE) and returns TRUE for logical values, FALSE otherwise.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

C#
public class IsLogical : FunctionBase

Inheritance: objectFunctionBaseIsLogical

Inherited Members FunctionBase.Evaluate(FunctionEvaluationContext<RadExpression>)FunctionBase.IsArgumentNumberValid(int)FunctionBase.ArgumentConversionRules

Constructors

Initializes a new ISLOGICAL function instance for testing whether values are booleans.

C#
public IsLogical()

Fields

The name of the function.

C#
public static readonly string FunctionName

Methods

Evaluates the function and returns TRUE if the argument is a boolean expression, FALSE otherwise.

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

The context.

Returns:

RadExpression

Function result as RadExpression.

Overrides: FunctionBase.EvaluateOverride(FunctionEvaluationContext<RadExpression>)

Properties

Gets metadata describing the function's category, parameters, and localization keys.

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

The function info as FunctionInfo.

Overrides: FunctionBase.FunctionInfo

Gets the function name identifier used in formulas.

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

The name as String.

Overrides: FunctionBase.Name