mirror of
				https://github.com/fooflington/selfdefined.git
				synced 2025-10-31 14:18:32 +00:00 
			
		
		
		
	update
This commit is contained in:
		
							
								
								
									
										21
									
								
								node_modules/rxjs/operator/every.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								node_modules/rxjs/operator/every.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,21 @@ | ||||
| "use strict"; | ||||
| var every_1 = require('../operators/every'); | ||||
| /** | ||||
|  * Returns an Observable that emits whether or not every item of the source satisfies the condition specified. | ||||
|  * | ||||
|  * @example <caption>A simple example emitting true if all elements are less than 5, false otherwise</caption> | ||||
|  *  Observable.of(1, 2, 3, 4, 5, 6) | ||||
|  *     .every(x => x < 5) | ||||
|  *     .subscribe(x => console.log(x)); // -> false | ||||
|  * | ||||
|  * @param {function} predicate A function for determining if an item meets a specified condition. | ||||
|  * @param {any} [thisArg] Optional object to use for `this` in the callback. | ||||
|  * @return {Observable} An Observable of booleans that determines if all items of the source Observable meet the condition specified. | ||||
|  * @method every | ||||
|  * @owner Observable | ||||
|  */ | ||||
| function every(predicate, thisArg) { | ||||
|     return every_1.every(predicate, thisArg)(this); | ||||
| } | ||||
| exports.every = every; | ||||
| //# sourceMappingURL=every.js.map | ||||
		Reference in New Issue
	
	Block a user
	 tatianamac
					tatianamac