{"id":"../node_modules/rxjs/_esm5/internal/observable/from.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/from.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/observable/from.ts","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/package.json","includedInParent":true,"mtime":1545395695572},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/package.json","includedInParent":true,"mtime":1545395355370},{"name":"../Observable","loc":{"line":2,"column":27},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/from.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Observable.js"},{"name":"../util/isPromise","loc":{"line":3,"column":26},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/from.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/isPromise.js"},{"name":"../util/isArrayLike","loc":{"line":4,"column":28},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/from.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/isArrayLike.js"},{"name":"../util/isInteropObservable","loc":{"line":5,"column":36},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/from.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/isInteropObservable.js"},{"name":"../util/isIterable","loc":{"line":6,"column":27},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/from.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/isIterable.js"},{"name":"./fromArray","loc":{"line":7,"column":26},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/from.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/fromArray.js"},{"name":"./fromPromise","loc":{"line":8,"column":28},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/from.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/fromPromise.js"},{"name":"./fromIterable","loc":{"line":9,"column":29},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/from.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/fromIterable.js"},{"name":"./fromObservable","loc":{"line":10,"column":31},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/from.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/fromObservable.js"},{"name":"../util/subscribeTo","loc":{"line":11,"column":28},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/from.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/subscribeTo.js"}],"generated":{"js":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.from = from;\n\nvar _Observable = require(\"../Observable\");\n\nvar _isPromise = require(\"../util/isPromise\");\n\nvar _isArrayLike = require(\"../util/isArrayLike\");\n\nvar _isInteropObservable = require(\"../util/isInteropObservable\");\n\nvar _isIterable = require(\"../util/isIterable\");\n\nvar _fromArray = require(\"./fromArray\");\n\nvar _fromPromise = require(\"./fromPromise\");\n\nvar _fromIterable = require(\"./fromIterable\");\n\nvar _fromObservable = require(\"./fromObservable\");\n\nvar _subscribeTo = require(\"../util/subscribeTo\");\n\n/** PURE_IMPORTS_START _Observable,_util_isPromise,_util_isArrayLike,_util_isInteropObservable,_util_isIterable,_fromArray,_fromPromise,_fromIterable,_fromObservable,_util_subscribeTo PURE_IMPORTS_END */\nfunction from(input, scheduler) {\n if (!scheduler) {\n if (input instanceof _Observable.Observable) {\n return input;\n }\n\n return new _Observable.Observable((0, _subscribeTo.subscribeTo)(input));\n }\n\n if (input != null) {\n if ((0, _isInteropObservable.isInteropObservable)(input)) {\n return (0, _fromObservable.fromObservable)(input, scheduler);\n } else if ((0, _isPromise.isPromise)(input)) {\n return (0, _fromPromise.fromPromise)(input, scheduler);\n } else if ((0, _isArrayLike.isArrayLike)(input)) {\n return (0, _fromArray.fromArray)(input, scheduler);\n } else if ((0, _isIterable.isIterable)(input) || typeof input === 'string') {\n return (0, _fromIterable.fromIterable)(input, scheduler);\n }\n }\n\n throw new TypeError((input !== null && typeof input || input) + ' is not observable');\n}","map":{"mappings":[{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":8,"column":0}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":10,"column":0}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":12,"column":0}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":14,"column":0}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":16,"column":0}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":18,"column":0}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":20,"column":0}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":22,"column":0}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":10,"column":0},"generated":{"line":24,"column":0}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":99,"column":0},"generated":{"line":26,"column":0}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":28,"column":0}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":100,"column":2},"generated":{"line":29,"column":0}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":100,"column":7},"generated":{"line":29,"column":9}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":100,"column":2},"generated":{"line":29,"column":13}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":100,"column":18},"generated":{"line":29,"column":14}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":100,"column":2},"generated":{"line":29,"column":19}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":100,"column":18},"generated":{"line":29,"column":21}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":100,"column":2},"generated":{"line":29,"column":30}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":100,"column":18},"generated":{"line":29,"column":32}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":101,"column":4},"generated":{"line":30,"column":6}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":101,"column":4},"generated":{"line":30,"column":7}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":101,"column":13},"generated":{"line":30,"column":18}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":102,"column":6},"generated":{"line":31,"column":8}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":102,"column":6},"generated":{"line":31,"column":13}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":102,"column":19},"generated":{"line":31,"column":25}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":102,"column":19},"generated":{"line":31,"column":49}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":103,"column":5},"generated":{"line":32,"column":0}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":103,"column":5},"generated":{"line":32,"column":13}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":103,"column":5},"generated":{"line":32,"column":18}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":104,"column":4},"generated":{"line":33,"column":0}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":105,"column":3},"generated":{"line":35,"column":0}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":105,"column":3},"generated":{"line":35,"column":11}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":105,"column":3},"generated":{"line":35,"column":15}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":105,"column":3},"generated":{"line":35,"column":37}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":105,"column":3},"generated":{"line":35,"column":38}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":105,"column":3},"generated":{"line":35,"column":68}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":105,"column":3},"generated":{"line":35,"column":73}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":105,"column":3},"generated":{"line":35,"column":74}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":105,"column":3},"generated":{"line":35,"column":75}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":107,"column":2},"generated":{"line":36,"column":0}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":108,"column":4},"generated":{"line":38,"column":6}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":108,"column":8},"generated":{"line":38,"column":11}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":108,"column":8},"generated":{"line":38,"column":15}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":108,"column":8},"generated":{"line":38,"column":21}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":109,"column":6},"generated":{"line":39,"column":8}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":109,"column":13},"generated":{"line":39,"column":54}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":109,"column":6},"generated":{"line":39,"column":59}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":109,"column":33},"generated":{"line":39,"column":62}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":110,"column":5},"generated":{"line":40,"column":0}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":110,"column":5},"generated":{"line":40,"column":13}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":110,"column":5},"generated":{"line":40,"column":49}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":110,"column":5},"generated":{"line":40,"column":54}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":110,"column":5},"generated":{"line":40,"column":56}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":110,"column":5},"generated":{"line":40,"column":65}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":110,"column":5},"generated":{"line":40,"column":66}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":111,"column":6},"generated":{"line":41,"column":11}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":111,"column":6},"generated":{"line":41,"column":15}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":111,"column":13},"generated":{"line":41,"column":41}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":111,"column":6},"generated":{"line":41,"column":46}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":111,"column":6},"generated":{"line":41,"column":47}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":111,"column":25},"generated":{"line":41,"column":49}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":112,"column":5},"generated":{"line":42,"column":0}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":112,"column":5},"generated":{"line":42,"column":13}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":112,"column":5},"generated":{"line":42,"column":43}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":112,"column":5},"generated":{"line":42,"column":48}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":112,"column":5},"generated":{"line":42,"column":50}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":112,"column":5},"generated":{"line":42,"column":59}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":112,"column":5},"generated":{"line":42,"column":60}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":111,"column":6},"generated":{"line":43,"column":5}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":113,"column":6},"generated":{"line":43,"column":11}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":113,"column":6},"generated":{"line":43,"column":15}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":113,"column":23},"generated":{"line":43,"column":45}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":113,"column":6},"generated":{"line":43,"column":50}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":113,"column":6},"generated":{"line":43,"column":51}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":113,"column":30},"generated":{"line":43,"column":53}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":114,"column":5},"generated":{"line":44,"column":0}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":114,"column":5},"generated":{"line":44,"column":13}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":114,"column":5},"generated":{"line":44,"column":39}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":114,"column":5},"generated":{"line":44,"column":44}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":114,"column":5},"generated":{"line":44,"column":46}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":114,"column":5},"generated":{"line":44,"column":55}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":114,"column":5},"generated":{"line":44,"column":56}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":113,"column":6},"generated":{"line":45,"column":5}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":115,"column":6},"generated":{"line":45,"column":11}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":115,"column":6},"generated":{"line":45,"column":15}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":115,"column":13},"generated":{"line":45,"column":43}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":115,"column":6},"generated":{"line":45,"column":48}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":115,"column":31},"generated":{"line":45,"column":53}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":115,"column":33},"generated":{"line":45,"column":60}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":115,"column":31},"generated":{"line":45,"column":65}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":115,"column":44},"generated":{"line":45,"column":70}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":115,"column":6},"generated":{"line":45,"column":78}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":115,"column":44},"generated":{"line":45,"column":80}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":116,"column":5},"generated":{"line":46,"column":0}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":116,"column":5},"generated":{"line":46,"column":13}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":116,"column":5},"generated":{"line":46,"column":45}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":116,"column":5},"generated":{"line":46,"column":50}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":116,"column":5},"generated":{"line":46,"column":52}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":116,"column":5},"generated":{"line":46,"column":61}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":116,"column":5},"generated":{"line":46,"column":62}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":117,"column":3},"generated":{"line":47,"column":0}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":119,"column":2},"generated":{"line":48,"column":0}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":120,"column":1},"generated":{"line":50,"column":0}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":120,"column":1},"generated":{"line":50,"column":8}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":120,"column":1},"generated":{"line":50,"column":12}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":120,"column":1},"generated":{"line":50,"column":21}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":120,"column":1},"generated":{"line":50,"column":22}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":120,"column":1},"generated":{"line":50,"column":23}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":120,"column":1},"generated":{"line":50,"column":28}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":120,"column":1},"generated":{"line":50,"column":33}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":120,"column":1},"generated":{"line":50,"column":37}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":120,"column":1},"generated":{"line":50,"column":41}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":120,"column":1},"generated":{"line":50,"column":48}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":120,"column":1},"generated":{"line":50,"column":53}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":120,"column":1},"generated":{"line":50,"column":57}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":120,"column":1},"generated":{"line":50,"column":62}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":120,"column":1},"generated":{"line":50,"column":66}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":120,"column":1},"generated":{"line":50,"column":86}},{"source":"../../../src/internal/observable/from.ts","name":null,"original":{"line":120,"column":1},"generated":{"line":50,"column":87}}],"sources":{"../../../src/internal/observable/from.ts":"import { Observable } from '../Observable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isIterable } from '../util/isIterable';\nimport { fromArray } from './fromArray';\nimport { fromPromise } from './fromPromise';\nimport { fromIterable } from './fromIterable';\nimport { fromObservable } from './fromObservable';\nimport { subscribeTo } from '../util/subscribeTo';\nimport { ObservableInput, SchedulerLike } from '../types';\n\nexport function from(input: ObservableInput, scheduler?: SchedulerLike): Observable;\nexport function from(input: ObservableInput>, scheduler?: SchedulerLike): Observable>;\n\n/**\n * Creates an Observable from an Array, an array-like object, a Promise, an iterable object, or an Observable-like object.\n *\n * Converts almost anything to an Observable.\n *\n * ![](from.png)\n *\n * `from` converts various other objects and data types into Observables. It also converts a Promise, an array-like, or an\n * iterable\n * object into an Observable that emits the items in that promise, array, or iterable. A String, in this context, is treated\n * as an array of characters. Observable-like objects (contains a function named with the ES2015 Symbol for Observable) can also be\n * converted through this operator.\n *\n * ## Examples\n * ### Converts an array to an Observable\n * ```javascript\n * import { from } from 'rxjs/observable/from';\n *\n * const array = [10, 20, 30];\n * const result = from(array);\n *\n * result.subscribe(x => console.log(x));\n *\n * // Logs:\n * // 10 20 30\n * ```\n *\n * ---\n *\n * ### Convert an infinite iterable (from a generator) to an Observable\n * ```javascript\n * import { take } from 'rxjs/operators';\n * import { from } from 'rxjs/observable/from';\n *\n * function* generateDoubles(seed) {\n * let i = seed;\n * while (true) {\n * yield i;\n * i = 2 * i; // double it\n * }\n * }\n *\n * const iterator = generateDoubles(3);\n * const result = from(iterator).pipe(take(10));\n *\n * result.subscribe(x => console.log(x));\n *\n * // Logs:\n * // 3 6 12 24 48 96 192 384 768 1536\n * ```\n *\n * ---\n *\n * ### with async scheduler\n * ```javascript\n * import { from } from 'rxjs/observable/from';\n * import { async } from 'rxjs/scheduler/async';\n *\n * console.log('start');\n *\n * const array = [10, 20, 30];\n * const result = from(array, async);\n *\n * result.subscribe(x => console.log(x));\n *\n * console.log('end');\n *\n * // Logs:\n * // start end 10 20 30\n * ```\n *\n * @see {@link fromEvent}\n * @see {@link fromEventPattern}\n * @see {@link fromPromise}\n *\n * @param {ObservableInput} A subscription object, a Promise, an Observable-like,\n * an Array, an iterable, or an array-like object to be converted.\n * @param {SchedulerLike} An optional {@link SchedulerLike} on which to schedule the emission of values.\n * @return {Observable}\n * @name from\n * @owner Observable\n */\n\nexport function from(input: ObservableInput, scheduler?: SchedulerLike): Observable {\n if (!scheduler) {\n if (input instanceof Observable) {\n return input;\n }\n return new Observable(subscribeTo(input));\n }\n\n if (input != null) {\n if (isInteropObservable(input)) {\n return fromObservable(input, scheduler);\n } else if (isPromise(input)) {\n return fromPromise(input, scheduler);\n } else if (isArrayLike(input)) {\n return fromArray(input, scheduler);\n } else if (isIterable(input) || typeof input === 'string') {\n return fromIterable(input, scheduler);\n }\n }\n\n throw new TypeError((input !== null && typeof input || input) + ' is not observable');\n}\n"},"lineCount":null}},"hash":"29989dc590d78bf736cca65be85f69c3","cacheData":{"env":{}}}