UNPKG

@reactivex/rxjs

Version:

Reactive Extensions for modern JavaScript

339 lines 8.18 kB
{ "type": "Program", "body": [ { "type": "ExportNamedDeclaration", "declaration": { "type": "FunctionDeclaration", "id": { "type": "Identifier", "name": "isScheduler", "range": [ 16, 27 ], "loc": { "start": { "line": 1, "column": 16 }, "end": { "line": 1, "column": 27 } } }, "params": [ { "type": "Identifier", "name": "value", "range": [ 28, 33 ], "loc": { "start": { "line": 1, "column": 28 }, "end": { "line": 1, "column": 33 } } } ], "body": { "type": "BlockStatement", "body": [ { "type": "ReturnStatement", "argument": { "type": "LogicalExpression", "operator": "&&", "left": { "type": "Identifier", "name": "value", "range": [ 48, 53 ], "loc": { "start": { "line": 2, "column": 11 }, "end": { "line": 2, "column": 16 } } }, "right": { "type": "BinaryExpression", "operator": "===", "left": { "type": "UnaryExpression", "operator": "typeof", "argument": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "value", "range": [ 64, 69 ], "loc": { "start": { "line": 2, "column": 27 }, "end": { "line": 2, "column": 32 } } }, "property": { "type": "Identifier", "name": "schedule", "range": [ 70, 78 ], "loc": { "start": { "line": 2, "column": 33 }, "end": { "line": 2, "column": 41 } } }, "range": [ 64, 78 ], "loc": { "start": { "line": 2, "column": 27 }, "end": { "line": 2, "column": 41 } } }, "prefix": true, "range": [ 57, 78 ], "loc": { "start": { "line": 2, "column": 20 }, "end": { "line": 2, "column": 41 } } }, "right": { "type": "Literal", "value": "function", "raw": "'function'", "range": [ 83, 93 ], "loc": { "start": { "line": 2, "column": 46 }, "end": { "line": 2, "column": 56 } } }, "range": [ 57, 93 ], "loc": { "start": { "line": 2, "column": 20 }, "end": { "line": 2, "column": 56 } } }, "range": [ 48, 93 ], "loc": { "start": { "line": 2, "column": 11 }, "end": { "line": 2, "column": 56 } } }, "range": [ 41, 94 ], "loc": { "start": { "line": 2, "column": 4 }, "end": { "line": 2, "column": 57 } } } ], "range": [ 35, 96 ], "loc": { "start": { "line": 1, "column": 35 }, "end": { "line": 3, "column": 1 } } }, "generator": false, "expression": false, "range": [ 7, 96 ], "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 3, "column": 1 } }, "leadingComments": [], "trailingComments": [ { "type": "Line", "value": "# sourceMappingURL=isScheduler.js.map", "range": [ 97, 136 ], "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 39 } } } ] }, "specifiers": [], "source": null, "range": [ 0, 96 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 3, "column": 1 } }, "trailingComments": [ { "type": "Line", "value": "# sourceMappingURL=isScheduler.js.map", "range": [ 97, 136 ], "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 39 } } } ] } ], "sourceType": "module", "range": [ 0, 96 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 3, "column": 1 } }, "comments": [ { "type": "Line", "value": "# sourceMappingURL=isScheduler.js.map", "range": [ 97, 136 ], "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 39 } } } ] }