PromoCursed/node_modules/core-js/internals/is-raw-json.js

10 lines
291 B
JavaScript
Raw Normal View History

2024-08-20 23:25:37 +04:00
'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';
};