Client APIs
API Reference Overview
Retrieves the child type of the given LIST type. Also accepts MAP types.
The result must be freed with `duckdb_destroy_logical_type`.  
###### Syntax {#docs:api:c:types::syntax}  
```c
duckdb_logical_type duckdb_list_type_child_type(
duckdb_logical_type type
);
```  
###### Parameters {#docs:api:c:types::parameters}  
* `type`: The logical type, either LIST or MAP.  
###### Return Value {#docs:api:c:types::return-value}  
The child type of the LIST or MAP type.  
<br>