![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mets.corals.io/wp-content/metras.v32.1/node_modules/rx/ts/core/linq/observable/ |
/// <reference path="../../observable.ts"/> module Rx { export interface Observable<T> { /** * Determines whether any element of an observable sequence satisfies a condition if present, else if any items are in the sequence. * @param {Function} [predicate] A function to test each element for a condition. * @returns {Observable} An observable sequence containing a single element determining whether any elements in the source sequence pass the test in the specified predicate if given, else if any items are in the sequence. */ some(predicate?: _Predicate<T>, thisArg?: any): Observable<boolean>; // alias for any } } (function () { var os : Rx.Observable<string>; var on : Rx.Observable<number>; on.some(); os.some((v, i, s) => true); os.some((v, i, s) => true, {}); });