Once a user-defined function is created, it remains in the database until it is explicitly removed.
See SQL Anywhere Server - SQL Usage > Stored procedures and triggers > Using procedures, triggers, and batches > Introduction to user-defined functions > Dropping user-defined functions.