There is no RLS policy directly on functions. But they will honor RLS of tables, unless you override with "security definer"
Remember RLS policy is just an extra query, so you can implement whatever extra policy checking you want in the function itself, including using auth.uid() etc.