You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
402 B
16 lines
402 B
"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;
|
|
|