index.js
function isNegation(node) {
  var value

  value = nlcstToString(node).toLowerCase()

  if (
    value === 'not' ||
    value === 'neither' ||
    value === 'nor' ||
    /n['’]t/.test(value)
  ) {
    return true
  }

  return false
}
function isNegation(node) {
  var value

  value = nlcstToString(node).toLowerCase()

  if (
    value === 'not' ||
    value === 'neither' ||
    value === 'nor' ||
    /n['’]t/.test(value)
  ) {
    return true
  }

  return false
}
function isNegation ( node ) { var value value = nlcstToString ( node ) . toLowerCase ( ) if ( value === 'not' || value === 'neither' || value === 'nor' || / n['’]t/. t e st(v a lue) ) { return true } return false }
Detect if a value is used to negate something.
Detect if a value is used to negate something .