test_ns = New Namespace("Test");
add custom functions({
new custom function("Test", "test_function",
function({},
print("hello world!!");
Return(1);
);
);
});
test_ns << Delete Namespace();
custom_functions = get custom functions();
custom_functions = custom_functions[Loc(custom_functions << get namespace, "Test")];
custom_functions << get name;Deleting a namespace will not delete it's associated custom functions as shown above.
The only way I have found to remove the custom function is to use the function "Remove Custom Functions."
Is there a way to delete a namespace and remove all of it's associated custom functions?