src/entity.js
function(token) {
  if (token === undefined || token === null) {
    return {
      nextPartitionKey: undefined,
      nextRowKey:       undefined,
    };
  }
  assert(typeof token === 'string', 'Continuation token must be a string if ' +
                                     'not undefined');
  // Split at tilde (~)
  token = token.split('~');
  assert(token.length === 2, 'Expected an encoded continuation token with ' +
                             'a single tilde as separator');
  return {
    nextPartitionKey: decodeURIComponent(token[0]),
    nextRowKey:       decodeURIComponent(token[1]),
  };
}
function(token) {
  if (token === undefined || token === null) {
    return {
      nextPartitionKey: undefined,
      nextRowKey:       undefined,
    };
  }
  assert(typeof token === 'string', 'Continuation token must be a string if ' +
                                     'not undefined');
  // Split at tilde (~)
  token = token.split('~');
  assert(token.length === 2, 'Expected an encoded continuation token with ' +
                             'a single tilde as separator');
  return {
    nextPartitionKey: decodeURIComponent(token[0]),
    nextRowKey:       decodeURIComponent(token[1]),
  };
}
function ( token ) { if ( token === undefined || token === null ) { return { nextPartitionKey : undefined , nextRowKey : undefined , } ; } assert ( typeof token === 'string' , 'Continuation token must be a string if ' + 'not undefined' ) ; // Split at tilde (~) token = token . split ( '~' ) ; assert ( token . length === 2 , 'Expected an encoded continuation token with ' + 'a single tilde as separator' ) ; return { nextPartitionKey : decodeURIComponent ( token [ 0 ] ) , nextRowKey : decodeURIComponent ( token [ 1 ] ) , } ; }
Decode continuation token, inverse of encodeContinuationToken
Decode continuation token inverse of encodeContinuationToken