ArcGIS Runtime SDK for iOS: AGSArcadeEvaluationResult Class Reference
ArcGIS Runtime SDK for iOS  100.15
AGSArcadeEvaluationResult Class Reference

Description

The result from the successful evaluation of an Arcade Expression.

Since
100.14
Inheritance diagram for AGSArcadeEvaluationResult:
AGSObject

Instance Methods

(nullable id) - castToType:
 
(BOOL) - isEqualToArcadeEvaluationResult:
 

Properties

id result
 

Method Documentation

◆ castToType:

- (nullable id) castToType: (AGSArcadeExpressionReturnType type

Casts the result of an evaluation to another type using the arcade casting rules.

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

Parameters
typeThe type to cast to.
Returns
An object of the requested type or nil.
Since
100.14

◆ isEqualToArcadeEvaluationResult:

- (BOOL) isEqualToArcadeEvaluationResult: (AGSArcadeEvaluationResult *)  other

Tests if two ArcadeEvaluationResult objects are equal.

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

Parameters
otherThe second object.
Returns
YES if this AGSArcadeEvaluationResult and the other AGSArcadeEvaluationResult are equivalent, NO if they are not.
Since
100.14

Property Documentation

◆ result

- (id) result
readnonatomicstrong

The result of a successful evaluation.

Since
100.14