function cellsToDirectedEdge(origin, destination) {
    const [oLower, oUpper] = h3IndexToSplitLong(origin);
    const [dLower, dUpper] = h3IndexToSplitLong(destination);
    const h3Index = C._malloc(SZ_H3INDEX);
    try {
        throwIfError(H3.cellsToDirectedEdge(oLower, oUpper, dLower, dUpper, h3Index));
        return validateH3Index(readH3IndexFromPointer(h3Index));
    } finally {
        C._free(h3Index);
    }
}
Get an H3 index representing a unidirectional edge for a given origin and destination
@static
@param  {H3IndexInput} origin      Origin hexagon index
@param  {H3IndexInput} destination Destination hexagon index
@return {H3Index}             H3 index of the edge, or null if no edge is shared
@throws {H3Error}             If the input is invalid