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.

is-raw-json.js 291B

123456789
  1. 'use strict';
  2. var isObject = require('../internals/is-object');
  3. var getInternalState = require('../internals/internal-state').get;
  4. module.exports = function isRawJSON(O) {
  5. if (!isObject(O)) return false;
  6. var state = getInternalState(O);
  7. return !!state && state.type === 'RawJSON';
  8. };