Enum ArcadeExpressionReturnType

    • Enum Constant Detail


        public static final ArcadeExpressionReturnType AUTOMATIC
        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.

      • NUMBER

        public static final ArcadeExpressionReturnType NUMBER
        The return type is expected to be a floating-point number.
    • Method Detail

      • values

        public static ArcadeExpressionReturnType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ArcadeExpressionReturnType c : ArcadeExpressionReturnType.values())
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ArcadeExpressionReturnType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        name - the name of the enum constant to be returned.
        the enum constant with the specified name
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null