Front end of the Slack clone application.

valid-map.js 153B

123456789
  1. 'use strict';
  2. var isMap = require('./is-map');
  3. module.exports = function (x) {
  4. if (!isMap(x)) throw new TypeError(x + " is not a Map");
  5. return x;
  6. };