You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					11 lines
				
				289 B
			
		
		
			
		
	
	
					11 lines
				
				289 B
			| 
								 
											3 years ago
										 
									 | 
							
								var filter = require('./filter.js');
							 | 
						||
| 
								 | 
							
								var negate = require('./negate.js');
							 | 
						||
| 
								 | 
							
								var _cb = require('./_cb.js');
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// Return all the elements for which a truth test fails.
							 | 
						||
| 
								 | 
							
								function reject(obj, predicate, context) {
							 | 
						||
| 
								 | 
							
								  return filter(obj, negate(_cb(predicate)), context);
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								module.exports = reject;
							 |