mirror of
				https://github.com/crazy-max/ghaction-upx.git
				synced 2025-11-04 04:58:11 -07:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			181 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			181 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
'use strict';
 | 
						|
module.exports = x => (
 | 
						|
	x instanceof Promise ||
 | 
						|
	(
 | 
						|
		x !== null &&
 | 
						|
		typeof x === 'object' &&
 | 
						|
		typeof x.then === 'function' &&
 | 
						|
		typeof x.catch === 'function'
 | 
						|
	)
 | 
						|
);
 |