Front end of the Slack clone application.

validate-array-like.js 190B

123456789
  1. "use strict";
  2. var isArrayLike = require("./is-array-like");
  3. module.exports = function (obj) {
  4. if (isArrayLike(obj)) return obj;
  5. throw new TypeError(obj + " is not array-like value");
  6. };