.
This commit is contained in:
		
							
								
								
									
										10
									
								
								qwen/nodejs/node_modules/is-arrayish/index.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								qwen/nodejs/node_modules/is-arrayish/index.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
module.exports = function isArrayish(obj) {
 | 
			
		||||
	if (!obj) {
 | 
			
		||||
		return false;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	return obj instanceof Array || Array.isArray(obj) ||
 | 
			
		||||
		(obj.length >= 0 && obj.splice instanceof Function);
 | 
			
		||||
};
 | 
			
		||||
		Reference in New Issue
	
	Block a user