diff options
author | Sakthipriyan Vairamani <thechargingvolcano@gmail.com> | 2015-07-15 01:56:54 +0530 |
---|---|---|
committer | Sakthipriyan Vairamani <thechargingvolcano@gmail.com> | 2015-07-21 23:24:23 +0530 |
commit | 6391f4d2fd7a5779e012887158e6bc69d08966e3 (patch) | |
tree | 95a7f2f1a27cb7c38402cfb6985416c99a0da760 /src/node_version.h | |
parent | b612f085ec12a1937e07867e7d23c5d58022b8ea (diff) | |
download | node-new-6391f4d2fd7a5779e012887158e6bc69d08966e3.tar.gz |
util: removing redundant checks in is* functions
When Object.prototype.toString is used to determine the type, we don't
have to explicitly check for other types. This patch removes the
redundant checks like that.
PR-URL: https://github.com/nodejs/io.js/pull/2179
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaƫl Zasso <mic.besace@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Diffstat (limited to 'src/node_version.h')
0 files changed, 0 insertions, 0 deletions