This helps to find all The User Defined Functions (UDF) in a Database.
USE AdventureWorks;
GO
SELECT name AS function_name
,SCHEMA_NAME(schema_id) AS schema_name
,type_desc,type
FROM sys.all_objects
WHERE type_desc LIKE '%FUNCTION%';
-- Except System Defined one
FROM sys.objects
Thanks :)