Data Types
The APEX_JAVASCRIPT package uses the following data types.
Function Type
subtype t_function_type is pls_integer range 1..3;
c_type_function constant t_function_type := 1; -- Returns the input code without modification.
c_type_function_body constant t_function_type := 2; -- Wraps the input code in a function body.
c_type_expression constant t_function_type := 3; -- Wraps the input code in a function with a return statement.