13 lines
211 B
JavaScript
13 lines
211 B
JavaScript
"use strict";
|
|
|
|
var objToString = Object.prototype.toString
|
|
, id = objToString.call(
|
|
(function () {
|
|
return arguments;
|
|
})()
|
|
);
|
|
|
|
module.exports = function (value) {
|
|
return objToString.call(value) === id;
|
|
};
|