function isRightBrace(token) {
  return token.type === 'Punctuator' && token.value === '}'
}
Check whether the given token is a right brace.
@param {Token} token The token to check.
@returns {boolean} `true` if the token is a right brace.