H3_IS_VALID_CELL
functionsupportedCore SQL functionsReturns TRUE if the input represents a valid H3 cell.
Syntax
H3_IS_VALID_CELL( <cell_id> )
Parameters
| Name | Required | Description |
|---|---|---|
cell_id | required | An INTEGER value that represents the H3 cell ID (index), or a VARCHAR value that represents the cell ID in hexadecimal format. |
Returns
Returns a BOOLEAN or NULL. - The value is TRUE if the input represents a valid H3 cell. Otherwise, returns FALSE. - If the input is NULL, returns NULL without reporting an error.