Client APIs
API Reference Overview
Sets the return type of the scalar function.  
###### Syntax {#docs:api:c:api::syntax}  
```c
void duckdb_scalar_function_set_return_type(
duckdb_scalar_function scalar_function,
duckdb_logical_type type
);
```  
###### Parameters {#docs:api:c:api::parameters}  
* `scalar_function`: The scalar function
* `type`: Cannot contain INVALID or ANY.  
<br>