lib/utils/indent-common.js
function isClosingToken (token) {
  return token != null && (
    token.type === 'HTMLEndTagOpen' ||
    token.type === 'VExpressionEnd' ||
    (
      token.type === 'Punctuator' &&
      (
        token.value === ')' ||
        token.value === '}' ||
        token.value === ']'
      )
    )
  )
}
function isClosingToken (token) {
  return token != null && (
    token.type === 'HTMLEndTagOpen' ||
    token.type === 'VExpressionEnd' ||
    (
      token.type === 'Punctuator' &&
      (
        token.value === ')' ||
        token.value === '}' ||
        token.value === ']'
      )
    )
  )
}
function isClosingToken ( token ) { return token != null && ( token . type === 'HTMLEndTagOpen' || token . type === 'VExpressionEnd' || ( token . type === 'Punctuator' && ( token . value === ')' || token . value === '}' || token . value === ']' ) ) ) }
Check whether a given token is a closing token which triggers unindent.
@param {Token} token The token to check.
@returns {boolean} `true` if the token is a closing token.
Check whether a given token is a closing token which triggers unindent .