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