Front end of the Slack clone application.

12345678910111213
  1. "use strict";
  2. var isValue = require("./is-value");
  3. module.exports = function (value) {
  4. if (!isValue(value)) return false;
  5. try {
  6. return !isNaN(value);
  7. } catch (e) {
  8. return false;
  9. }
  10. };