index.js
function _splitProps (props) {
  var test = {}

  if (util.isString(props)) {
    props = props
      .split(',')
      .map(_segment(','))
      .filter(function (k) {
        return k
      })
  }
  if (util.isArray(props)) {
    props.forEach(function (key) {
      test[key] = 1
    })
    return test
  }
  return {}
}
function _splitProps (props) {
  var test = {}

  if (util.isString(props)) {
    props = props
      .split(',')
      .map(_segment(','))
      .filter(function (k) {
        return k
      })
  }
  if (util.isArray(props)) {
    props.forEach(function (key) {
      test[key] = 1
    })
    return test
  }
  return {}
}
function _splitProps ( props ) { var test = { } if ( util . isString ( props ) ) { props = props . split ( ',' ) . map ( _segment ( ',' ) ) . filter ( function ( k ) { return k } ) } if ( util . isArray ( props ) ) { props . forEach ( function ( key ) { test [ key ] = 1 } ) return test } return { } }
split comma separated String or Array into a test hash
@private
@param {Array|String} keys
@return {Object} obj for comparison
split comma separated String or Array into a test hash