aboutsummaryrefslogtreecommitdiff
path: root/node_modules/es5-ext/function/is-arguments.js
blob: f4bf40608c7a459321add1da4d50cc260adfa04f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
"use strict";

var objToString = Object.prototype.toString
  , id = objToString.call(
	(function () {
		return arguments;
	})()
);

module.exports = function (value) {
	return objToString.call(value) === id;
};