@reactivex/rxjs
Version:
Reactive Extensions for modern JavaScript
340 lines • 8.03 kB
JSON
{
"type": "Program",
"body": [
{
"type": "ExportNamedDeclaration",
"declaration": {
"type": "FunctionDeclaration",
"id": {
"type": "Identifier",
"name": "isObject",
"range": [
16,
24
],
"loc": {
"start": {
"line": 1,
"column": 16
},
"end": {
"line": 1,
"column": 24
}
}
},
"params": [
{
"type": "Identifier",
"name": "x",
"range": [
25,
26
],
"loc": {
"start": {
"line": 1,
"column": 25
},
"end": {
"line": 1,
"column": 26
}
}
}
],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ReturnStatement",
"argument": {
"type": "LogicalExpression",
"operator": "&&",
"left": {
"type": "BinaryExpression",
"operator": "!=",
"left": {
"type": "Identifier",
"name": "x",
"range": [
41,
42
],
"loc": {
"start": {
"line": 2,
"column": 11
},
"end": {
"line": 2,
"column": 12
}
}
},
"right": {
"type": "Literal",
"value": null,
"raw": "null",
"range": [
46,
50
],
"loc": {
"start": {
"line": 2,
"column": 16
},
"end": {
"line": 2,
"column": 20
}
}
},
"range": [
41,
50
],
"loc": {
"start": {
"line": 2,
"column": 11
},
"end": {
"line": 2,
"column": 20
}
}
},
"right": {
"type": "BinaryExpression",
"operator": "===",
"left": {
"type": "UnaryExpression",
"operator": "typeof",
"argument": {
"type": "Identifier",
"name": "x",
"range": [
61,
62
],
"loc": {
"start": {
"line": 2,
"column": 31
},
"end": {
"line": 2,
"column": 32
}
}
},
"prefix": true,
"range": [
54,
62
],
"loc": {
"start": {
"line": 2,
"column": 24
},
"end": {
"line": 2,
"column": 32
}
}
},
"right": {
"type": "Literal",
"value": "object",
"raw": "'object'",
"range": [
67,
75
],
"loc": {
"start": {
"line": 2,
"column": 37
},
"end": {
"line": 2,
"column": 45
}
}
},
"range": [
54,
75
],
"loc": {
"start": {
"line": 2,
"column": 24
},
"end": {
"line": 2,
"column": 45
}
}
},
"range": [
41,
75
],
"loc": {
"start": {
"line": 2,
"column": 11
},
"end": {
"line": 2,
"column": 45
}
}
},
"range": [
34,
76
],
"loc": {
"start": {
"line": 2,
"column": 4
},
"end": {
"line": 2,
"column": 46
}
}
}
],
"range": [
28,
78
],
"loc": {
"start": {
"line": 1,
"column": 28
},
"end": {
"line": 3,
"column": 1
}
}
},
"generator": false,
"expression": false,
"range": [
7,
78
],
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 3,
"column": 1
}
},
"leadingComments": [],
"trailingComments": [
{
"type": "Line",
"value": "# sourceMappingURL=isObject.js.map",
"range": [
79,
115
],
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 36
}
}
}
]
},
"specifiers": [],
"source": null,
"range": [
0,
78
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 3,
"column": 1
}
},
"trailingComments": [
{
"type": "Line",
"value": "# sourceMappingURL=isObject.js.map",
"range": [
79,
115
],
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 36
}
}
}
]
}
],
"sourceType": "module",
"range": [
0,
78
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 3,
"column": 1
}
},
"comments": [
{
"type": "Line",
"value": "# sourceMappingURL=isObject.js.map",
"range": [
79,
115
],
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 36
}
}
}
]
}