UNPKG

discord-bot-cdk-construct

Version:

A quick CDK Construct for creating a serverless Discord bot in AWS!

17 lines (13 loc) 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;