Front end of the Slack clone application.

valid-object.js 182B

123456789
  1. "use strict";
  2. var isObject = require("./is-object");
  3. module.exports = function (value) {
  4. if (!isObject(value)) throw new TypeError(value + " is not an Object");
  5. return value;
  6. };