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.
		
		
		
		
			
				
					13 lines
				
				258 B
			
		
		
			
		
	
	
					13 lines
				
				258 B
			| 
								 
											4 years ago
										 
									 | 
							
								var lowerCase = require('lower-case')
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								/**
							 | 
						||
| 
								 | 
							
								 * Check if a string is lower case.
							 | 
						||
| 
								 | 
							
								 *
							 | 
						||
| 
								 | 
							
								 * @param  {String}  string
							 | 
						||
| 
								 | 
							
								 * @param  {String}  [locale]
							 | 
						||
| 
								 | 
							
								 * @return {Boolean}
							 | 
						||
| 
								 | 
							
								 */
							 | 
						||
| 
								 | 
							
								module.exports = function (string, locale) {
							 | 
						||
| 
								 | 
							
								  return lowerCase(string, locale) === string
							 | 
						||
| 
								 | 
							
								}
							 |