IS_NULL Function
Checks if the object type is null.
Syntax
MEMBER FUNCTION is_null
RETURN BOOLEAN;Returns
True the object type has not been written to since initialization.
declare
l_obj apex_t_javascript_object := apex_t_javascript_object();
begin
sys.dbms_output.put_line( case when l_obj.is_null then 'true' else 'false' end );
l_obj.open_object;
l_obj.close_object;
sys.dbms_output.put_line( case when l_obj.is_null then 'true' else 'false' end );
end;
Output:
true
false
Example
Verify if the object is null.
Parent topic: APEX_T_JAVASCRIPT_OBJECT