///
module Rx {
export interface Observable {
/**
* Determines whether all elements of an observable sequence satisfy a condition.
* @param {Function} [predicate] A function to test each element for a condition.
* @param {Any} [thisArg] Object to use as this when executing callback.
* @returns {Observable} An observable sequence containing a single element determining whether all elements in the source sequence pass the test in the specified predicate.
*/
every(predicate?: _Predicate, thisArg?: any): Observable; // alias for all
}
}
(function () {
var o : Rx.Observable;
var b : Rx.Observable;
b = o.every();
b = o.every(() => true);
b = o.every(() => true, {});
});