ArcadeEvaluationResult QML Type

The result from the successful evaluation of an Arcade Expression. More...

Import Statement: import Esri.ArcGISRuntime 100.15
Since: Esri.ArcGISRuntime 100.14
Inherits:

Object

Properties

Methods

  • var castTo(Enums.ArcadeExpressionReturnType toType)
  • bool equals(ArcadeEvaluationResult other)

Detailed Description

Note: You cannot declare or create a component of this type in QML code.

Property Documentation

result : var

The result of a successful evaluation (read-only).


Method Documentation

var castTo(Enums.ArcadeExpressionReturnType toType)

Cast the result of an evaluation to another type using the Arcade casting rules.

  • toType - The type to cast to

Attempts to cast to the required type using the Arcade casting rules. Arcade does not throw errors when its casting fails, instead it returns a null value, or NaN in the case of casting to a number.


bool equals(ArcadeEvaluationResult other)

Returns true if two ArcadeEvaluationResult objects are equal, false otherwise.

  • other - The second object

This is a deep comparison so two separate dictionaries with the same keys and values will compare equal.


Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.