Front end of the Slack clone application.

valid-value.js 182B

123456789
  1. "use strict";
  2. var isValue = require("./is-value");
  3. module.exports = function (value) {
  4. if (!isValue(value)) throw new TypeError("Cannot use null or undefined");
  5. return value;
  6. };