mirror of
				https://github.com/taixingyiji/openit.git
				synced 2025-11-04 04:32:24 +00:00 
			
		
		
		
	2022.07.20 16:18:09 更新订阅
This commit is contained in:
		
							
								
								
									
										30
									
								
								utils/rm/node_modules/lodash/lte.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								utils/rm/node_modules/lodash/lte.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,30 @@
 | 
			
		||||
var createRelationalOperation = require('./_createRelationalOperation');
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Checks if `value` is less than or equal to `other`.
 | 
			
		||||
 *
 | 
			
		||||
 * @static
 | 
			
		||||
 * @memberOf _
 | 
			
		||||
 * @since 3.9.0
 | 
			
		||||
 * @category Lang
 | 
			
		||||
 * @param {*} value The value to compare.
 | 
			
		||||
 * @param {*} other The other value to compare.
 | 
			
		||||
 * @returns {boolean} Returns `true` if `value` is less than or equal to
 | 
			
		||||
 *  `other`, else `false`.
 | 
			
		||||
 * @see _.gte
 | 
			
		||||
 * @example
 | 
			
		||||
 *
 | 
			
		||||
 * _.lte(1, 3);
 | 
			
		||||
 * // => true
 | 
			
		||||
 *
 | 
			
		||||
 * _.lte(3, 3);
 | 
			
		||||
 * // => true
 | 
			
		||||
 *
 | 
			
		||||
 * _.lte(3, 1);
 | 
			
		||||
 * // => false
 | 
			
		||||
 */
 | 
			
		||||
var lte = createRelationalOperation(function(value, other) {
 | 
			
		||||
  return value <= other;
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
module.exports = lte;
 | 
			
		||||
		Reference in New Issue
	
	Block a user