lib/rules/vue/require-default-prop.js
function propHasDefault (prop) {
      const propDefaultNode = prop.value.properties
        .find(p => p.key && p.key.name === 'default')

      return Boolean(propDefaultNode)
    }
function propHasDefault (prop) {
      const propDefaultNode = prop.value.properties
        .find(p => p.key && p.key.name === 'default')

      return Boolean(propDefaultNode)
    }
function propHasDefault ( prop ) { const propDefaultNode = prop . value . properties . find ( p => p . key && p . key . name === 'default' ) return Boolean ( propDefaultNode ) }
Checks if the passed prop has a default value
@param {Property} prop - Property AST node for a single prop
@return {boolean}
Checks if the passed prop has a default value