main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
291 bytes
|
Rev | Line | |
---|
[79a0317] | 1 | 'use strict';
|
---|
| 2 | var isObject = require('../internals/is-object');
|
---|
| 3 | var getInternalState = require('../internals/internal-state').get;
|
---|
| 4 |
|
---|
| 5 | module.exports = function isRawJSON(O) {
|
---|
| 6 | if (!isObject(O)) return false;
|
---|
| 7 | var state = getInternalState(O);
|
---|
| 8 | return !!state && state.type === 'RawJSON';
|
---|
| 9 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.