Arcade Expression Return Type
The expected type of the result calculated by an expression described within an ArcadeExpression.
Since
200.1.0
Inheritors
Types
The return type is expected to be any of the other ArcadeExpressionReturnType types. 'any' implies that the application evaluating the expression will need to check the result for its type and use the value appropriately.
The return type of the expression will be automatically determined based on the script calculation. The return type is determined by the return value of the script. Different paths through the script might result in different result types. For example, depending on input values, it might return a number, a string, a date or an array.
The return type is expected to be a boolean value of true or false. Arcade will convert the return type to a boolean via the following transformations:
The return type is expected to be an Instant value. Arcade converts the return type to an Instant via the following transformations:
The return type is expected to be a LocalDate value. Arcade converts the return type to a LocalDate via the following transformations:
The return type is expected to be a dictionary of key/value pairs. Arcade will convert the return type to a dictionary of key/value pairs via the following transformations:
The return type is expected to be a floating-point number. Arcade will convert the return type to a float64 via the following transformations:
The return type is expected to be a string. Arcade will convert the return type to a string via the Arcade Text() function.
The return type is expected to be a LocalTime value. Arcade converts the return type to a LocalTime via the following transformations:
The return type is expected to be an OffsetDateTime value. Arcade converts the return type to an OffsetDateTime via the following transformations: