Get the parent of the given hexagon at a particular resolution

h3_to_parent(h3Index, res)

Arguments

h3Index

H3Index H3 index to get parent for

res

Number Resolution of hexagon to return

Value

H3Index - H3 index of parent, or null for invalid input