src/relay/resolver.js
function toCursor(item, index) {
  const id = item.id;
  return base64(cursorPrefix + id + cursorSeparator + index);
}
function toCursor(item, index) {
  const id = item.id;
  return base64(cursorPrefix + id + cursorSeparator + index);
}
function toCursor ( item , index ) { const id = item . id ; return base64 ( cursorPrefix + id + cursorSeparator + index ) ; }
Creates a cursor based on the item and the
index of where is located on the result set.
needed to identify edges

@param item
@param index
@returns {*}
Creates a cursor based on the item and the index of where is located on the result set . needed to identify edges