Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 30 additions & 24 deletions website/docs/api/inspection.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -321,20 +321,28 @@ Returns 0 (`E_SUCCESS`) on success. Returns an error code on failure:
</TabItem>
<TabItem value="java">

:::note

This function may not be available in all bindings.

:::
```java
long constructCell(int baseCellNumber, List<Integer> digits);
long constructCell(int baseCellNumber, List<Integer> digits, int res);
String constructCellAddress(int baseCellNumber, List<Integer> digits);
String constructCellAddress(int baseCellNumber, List<Integer> digits, int res);
```

</TabItem>
<TabItem value="javascript">

:::note

This function may not be available in all bindings.
```js
h3.constructCell(baseCellNumber, digits)
h3.constructCell(baseCellNumber, digits, res)
```

:::
```js live
function example() {
const baseCellNumber = 0;
const res = 1;
return h3.constructCell(baseCellNumber, [0], res);
}
```

</TabItem>
<TabItem value="python">
Expand All @@ -357,11 +365,12 @@ This function may not be available in all bindings.
</TabItem>
<TabItem value="duckdb">

:::note

This function may not be available in all bindings.

:::
```sql
h3_construct_cell(base_cell_number, digits)
h3_construct_cell(base_cell_number, digits, res)
h3_construct_cell_string(base_cell_number, digits)
h3_construct_cell_string(base_cell_number, digits, res)
```

</TabItem>
<TabItem value="shell">
Expand Down Expand Up @@ -662,11 +671,10 @@ Returns 1 if the H3 index is valid for any supported type (cell, directed edge,
</TabItem>
<TabItem value="java">

:::note

This function may not be available in all bindings.

:::
```java
boolean isValidIndex(long h3);
boolean isValidIndex(String h3Address);
```

</TabItem>
<TabItem value="javascript">
Expand Down Expand Up @@ -698,11 +706,9 @@ This function may not be available in all bindings.
</TabItem>
<TabItem value="duckdb">

:::note

This function may not be available in all bindings.

:::
```sql
h3_is_valid_index(h)
```

</TabItem>
</Tabs>
Expand Down