function isEventAttribute(attName) {
if (attName !== 'on' && attName !== 'catch') {
let startLetter
if (attName.startsWith('on')) {
startLetter = attName.substring(2, 3)
}
if (attName.startsWith('catch')) {
startLetter = attName.substring(5, 6)
}
console.log('++StartLater', startLetter)
if (startLetter && /[A-Z]/.test(startLetter)) {
return true
}
}
return false
}
console.log(isEventAttribute('on:tap'))