Node-Red configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

a-string.js 189B

1234567
  1. 'use strict';
  2. var $TypeError = TypeError;
  3. module.exports = function (argument) {
  4. if (typeof argument == 'string') return argument;
  5. throw new $TypeError('Argument is not a string');
  6. };