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.
		
		
		
		
		
			
		
			
				
					12 lines
				
				301 B
			
		
		
			
		
	
	
					12 lines
				
				301 B
			| 
								 
											3 years ago
										 
									 | 
							
								/*!
							 | 
						||
| 
								 | 
							
								 * Determine if an object is a Buffer
							 | 
						||
| 
								 | 
							
								 *
							 | 
						||
| 
								 | 
							
								 * @author   Feross Aboukhadijeh <https://feross.org>
							 | 
						||
| 
								 | 
							
								 * @license  MIT
							 | 
						||
| 
								 | 
							
								 */
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								module.exports = function isBuffer (obj) {
							 | 
						||
| 
								 | 
							
								  return obj != null && obj.constructor != null &&
							 | 
						||
| 
								 | 
							
								    typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj)
							 | 
						||
| 
								 | 
							
								}
							 |