util: dont repeat isBuffer

PR-URL: https://github.com/nodejs/io.js/pull/1988
Reviewed-By: Roman Reiss <me@silverwind.io>
pull/1988/merge
Brendan Ashworth 2015-06-15 22:01:33 -07:00
parent d5637e67c9
commit 626432d843
1 changed files with 1 additions and 4 deletions

View File

@ -640,10 +640,7 @@ function isPrimitive(arg) {
}
exports.isPrimitive = isPrimitive;
function isBuffer(arg) {
return arg instanceof Buffer;
}
exports.isBuffer = isBuffer;
exports.isBuffer = Buffer.isBuffer;
function objectToString(o) {
return Object.prototype.toString.call(o);