lib/utils/cypher.js
function labels (array) {
  var res = '';
  if(typeof array === 'string') {
    return ':' + array;
  }    
  for (var i = 0; i < array.length; i++) {
    res += ':' + array[i];
  }    
  return res;
}
function labels (array) {
  var res = '';
  if(typeof array === 'string') {
    return ':' + array;
  }    
  for (var i = 0; i < array.length; i++) {
    res += ':' + array[i];
  }    
  return res;
}
function labels ( array ) { var res = '' ; if ( typeof array === 'string' ) { return ':' + array ; } for ( var i = 0 ; i < array . length ; i ++ ) { res += ':' + array [ i ] ; } return res ; }
Example: labels(['User','Student']) returns ':User:Student'
Example : labels ( [ User Student ] ) returns : User : Student