function validateH3Index(h3Index) {
    if (!h3Index) throw JSBindingError(E_NULL_INDEX);
    return h3Index;
}
Assert H3 index output, throwing an error if null
@private
@param {H3Index | null} h3Index    Index to validate
@return {H3Index}
@throws {H3Error}     If invalid