libs/mocha/should.js
function(type, desc){
        this.assert(
            type == typeof this.obj
            , function(){ return 'expected ' + this.inspect + ' to be a ' + type + (desc ? " | " + desc : "") }
            , function(){ return 'expected ' + this.inspect + ' not to be a ' + type  + (desc ? " | " + desc : "") })
        return this;
    }
function(type, desc){
        this.assert(
            type == typeof this.obj
            , function(){ return 'expected ' + this.inspect + ' to be a ' + type + (desc ? " | " + desc : "") }
            , function(){ return 'expected ' + this.inspect + ' not to be a ' + type  + (desc ? " | " + desc : "") })
        return this;
    }
function ( type , desc ) { this . assert ( type == typeof this . obj , function ( ) { return 'expected ' + this . inspect + ' to be a ' + type + ( desc ? " | " + desc : "" ) } , function ( ) { return 'expected ' + this . inspect + ' not to be a ' + type + ( desc ? " | " + desc : "" ) } ) return this ; }
Assert typeof.

@param {Mixed} type
@param {String} description
@api public
Assert typeof .