package.internals.is-raw-json.js Maven / Gradle / Ivy
'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