As reported in https://github.com/uber/h3/pull/1223 The code in h3-js checks that the input is a cell, but the docs say it accepts any index: https://h3geo.org/docs/api/inspection#getresolution The check should rather be isValidIndex.
As reported in uber/h3#1223
The code in h3-js checks that the input is a cell, but the docs say it accepts any index: https://h3geo.org/docs/api/inspection#getresolution
The check should rather be isValidIndex.