@reactivex/rxjs
Version:
Reactive Extensions for modern JavaScript
267 lines • 5.8 kB
JSON
{
"type": "Program",
"body": [
{
"type": "ExportNamedDeclaration",
"declaration": {
"type": "FunctionDeclaration",
"id": {
"type": "Identifier",
"name": "isFunction",
"range": [
16,
26
],
"loc": {
"start": {
"line": 1,
"column": 16
},
"end": {
"line": 1,
"column": 26
}
}
},
"params": [
{
"type": "Identifier",
"name": "x",
"range": [
27,
28
],
"loc": {
"start": {
"line": 1,
"column": 27
},
"end": {
"line": 1,
"column": 28
}
}
}
],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ReturnStatement",
"argument": {
"type": "BinaryExpression",
"operator": "===",
"left": {
"type": "UnaryExpression",
"operator": "typeof",
"argument": {
"type": "Identifier",
"name": "x",
"range": [
50,
51
],
"loc": {
"start": {
"line": 2,
"column": 18
},
"end": {
"line": 2,
"column": 19
}
}
},
"prefix": true,
"range": [
43,
51
],
"loc": {
"start": {
"line": 2,
"column": 11
},
"end": {
"line": 2,
"column": 19
}
}
},
"right": {
"type": "Literal",
"value": "function",
"raw": "'function'",
"range": [
56,
66
],
"loc": {
"start": {
"line": 2,
"column": 24
},
"end": {
"line": 2,
"column": 34
}
}
},
"range": [
43,
66
],
"loc": {
"start": {
"line": 2,
"column": 11
},
"end": {
"line": 2,
"column": 34
}
}
},
"range": [
36,
67
],
"loc": {
"start": {
"line": 2,
"column": 4
},
"end": {
"line": 2,
"column": 35
}
}
}
],
"range": [
30,
69
],
"loc": {
"start": {
"line": 1,
"column": 30
},
"end": {
"line": 3,
"column": 1
}
}
},
"generator": false,
"expression": false,
"range": [
7,
69
],
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 3,
"column": 1
}
},
"leadingComments": [],
"trailingComments": [
{
"type": "Line",
"value": "# sourceMappingURL=isFunction.js.map",
"range": [
70,
108
],
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 38
}
}
}
]
},
"specifiers": [],
"source": null,
"range": [
0,
69
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 3,
"column": 1
}
},
"trailingComments": [
{
"type": "Line",
"value": "# sourceMappingURL=isFunction.js.map",
"range": [
70,
108
],
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 38
}
}
}
]
}
],
"sourceType": "module",
"range": [
0,
69
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 3,
"column": 1
}
},
"comments": [
{
"type": "Line",
"value": "# sourceMappingURL=isFunction.js.map",
"range": [
70,
108
],
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 38
}
}
}
]
}