mirror of
https://github.com/Snigdha-OS/documentation.git
synced 2025-09-06 19:15:12 +02:00
10 lines
291 B
JavaScript
10 lines
291 B
JavaScript
'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';
|
|
};
|