Class And
Infix AND operation.
Operand Count: 2
Operands
- Operand1 : any
- Operand2 : any
The input operands are converted to boolean. See the ConvertToBoolean(Object) method for the conversion logic
Output Type: Boolean
Usage: 3 > 2 and 2 > 1
Precedance: 30
Implements
Inherited Members
Namespace: Albatross.Expression.Operations
Assembly: Albatross.Expression.dll
Syntax
public class And : InfixOperationToken, IToken
Properties
Name
Declaration
public override string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Precedence
Declaration
public override int Precedence { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Overrides
Symbolic
Declaration
public override bool Symbolic { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
Methods
EvalValue(Func<String, Object>)
Declaration
public override object EvalValue(Func<string, object> context)
Parameters
Type | Name | Description |
---|---|---|
System.Func<System.String, System.Object> | context |
Returns
Type | Description |
---|---|
System.Object |