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
}
Detect if a value is used to negate something.