ArcGIS Developers
Dashboard

ArcadeExpression QML Type

An Arcade expression object containing an expression, a name, a return type, and a title. More...

Import Statement: import Esri.ArcGISRuntime 100.11
Since: Esri.ArcGISRuntime 100.11
Inherits:

Object

Properties

Signals

Methods

  • bool equals(ArcadeExpression other)

Detailed Description

An ArcadeExpression object gathers an Arcade script expression together with: - the expected return type - the name that a map author uses to refer to it - the title that the author uses to describe the expression.

See also JsonSerializable.

Property Documentation

expression : string

The Arcade expression string.


json : jsobject

JSON that can be used to instantiate the type instance.


name : string

The name that the author uses to refer to the expression.

If not set explicitly, then the default is an empty name string.


returnType : Enums.ArcadeExpressionReturnType

The expected return type of the expression.

If the Arcade expression creates results of a different type (e.g., a Date or an Array), then the result will be cast to the expected return type. If no sensible cast can be carried out, then the result will be a zero value, or empty string.


title : string

The title that the author uses to describe the expression.

If not set explicitly, then the default is an empty title string.


Signal Documentation

expressionChanged()

Emitted when the expression property changes.

Note: The corresponding handler is onExpressionChanged.


nameChanged()

Emitted when the name property changes.

Note: The corresponding handler is onNameChanged.


returnTypeChanged()

Emitted when the returnType property changes.

Note: The corresponding handler is onReturnTypeChanged.


titleChanged()

Emitted when the title property changes.

Note: The corresponding handler is onTitleChanged.


Method Documentation

bool equals(ArcadeExpression other)

Tests if two ArcadeExpression objects are equal.

  • other - The second object.

Returns true if this and other are equivalent, false otherwise.



Feedback on this topic?