Currently only functions with signature like func(text, arg1 "any", ...) → text are supported. The first argument arg0 should be text and is taken as the jsonb string value (or array element) currently being processed. The variadic arguments (if any) will be passed to func as args1...argsn. Bot the function name and the types of variadic arguments will be used to search for the appropriate function in the catalog.