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