All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.internals.is-raw-json.js Maven / Gradle / Ivy

There is a newer version: 3.39.0
Show newest version
'use strict';
var isObject = require('../internals/is-object');
var getInternalState = require('../internals/internal-state').get;

module.exports = function isRawJSON(O) {
  if (!isObject(O)) return false;
  var state = getInternalState(O);
  return !!state && state.type === 'RawJSON';
};




© 2015 - 2024 Weber Informatics LLC | Privacy Policy