|
12345678910111213141516 |
- "use strict";
-
- var getClass = require("./get-class");
-
- /**
- * Returns `true` when `object` is an `arguments` object, `false` otherwise
- *
- * @alias module:samsam.isArguments
- * @param {*} object - The object to examine
- * @returns {boolean} `true` when `object` is an `arguments` object
- */
- function isArguments(object) {
- return getClass(object) === "Arguments";
- }
-
- module.exports = isArguments;
|