lib/property.js
function( type ) {
    type = ( type + '' ).toLowerCase()
    return Array.isArray( this.type ) ?
      this.type.indexOf( type ) >= 0 :
      this.type === type
  }
function( type ) {
    type = ( type + '' ).toLowerCase()
    return Array.isArray( this.type ) ?
      this.type.indexOf( type ) >= 0 :
      this.type === type
  }
function ( type ) { type = ( type + '' ) . toLowerCase ( ) return Array . isArray ( this . type ) ? this . type . indexOf ( type ) >= 0 : this . type === type }
Check whether the property is of a given type
@param  {String}  type
@return {Boolean}
Check whether the property is of a given type