ArcadeExpression QML Type

  • Esri.ArcGISRuntime
  • ArcadeExpression
  • An Arcade expression object containing an expression, a name, a return type, and a title. More...

    Import Statement: import Esri.ArcGISRuntime
    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:

    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 evaluates to a result which differs from Enums.ArcadeExpressionReturnType then the result will be cast to the expected return type. If the cast cannot be carried out, the result will be a type-specific error value. See Enums.ArcadeExpressionReturnType for details.


    title : string

    The title that the author uses to describe the expression.

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


    [read-only] unknownJson : jsobject

    Returns the unknown JSON from the source JSON.


    [read-only] unsupportedJson : jsobject

    Returns the unsupported data from the source JSON.


    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.


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