Table of Contents

Class Len

Namespace
Albatross.Expression.Prefix
Assembly
Albatross.Expression.dll

Represents the Len function that returns the length of strings, collections, or JSON arrays.

public class Len : PrefixExpression, IPrefixExpression, IExpression, IToken
Inheritance
Len
Implements
Inherited Members
Extension Methods

Constructors

Len()

Initializes a new instance of the Len class.

public Len()

Methods

Run(List<object>)

Executes the prefix function with the evaluated operand values. Derived classes should override this method to implement specific function logic.

protected override object Run(List<object> operands)

Parameters

operands List<object>

The list of evaluated operand values.

Returns

object

The result of the function.