Front end of the Slack clone application.

index.js 331B

1234567891011121314
  1. /*!
  2. * is-extendable <https://github.com/jonschlinkert/is-extendable>
  3. *
  4. * Copyright (c) 2015, Jon Schlinkert.
  5. * Licensed under the MIT License.
  6. */
  7. 'use strict';
  8. module.exports = function isExtendable(val) {
  9. return typeof val !== 'undefined' && val !== null
  10. && (typeof val === 'object' || typeof val === 'function');
  11. };