lib/rules/vue/valid-v-model.js
function isValidElement (node) {
  const name = node.name
  return (
    name === 'input' ||
    name === 'select' ||
    name === 'textarea' ||
    (
      name !== 'keep-alive' &&
      name !== 'slot' &&
      name !== 'transition' &&
      name !== 'transition-group' &&
      utils.isCustomComponent(node)
    )
  )
}
function isValidElement (node) {
  const name = node.name
  return (
    name === 'input' ||
    name === 'select' ||
    name === 'textarea' ||
    (
      name !== 'keep-alive' &&
      name !== 'slot' &&
      name !== 'transition' &&
      name !== 'transition-group' &&
      utils.isCustomComponent(node)
    )
  )
}
function isValidElement ( node ) { const name = node . name return ( name === 'input' || name === 'select' || name === 'textarea' || ( name !== 'keep-alive' && name !== 'slot' && name !== 'transition' && name !== 'transition-group' && utils . isCustomComponent ( node ) ) ) }
Check whether the given node is valid or not.
@param {ASTNode} node The element node to check.
@returns {boolean} `true` if the node is valid.
Check whether the given node is valid or not .