add hw2
This commit is contained in:
		
							
								
								
									
										8
									
								
								node_modules/khroma/dist/methods/is_transparent.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								node_modules/khroma/dist/methods/is_transparent.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| /* IMPORT */ | ||||
| import alpha from './alpha.js'; | ||||
| /* MAIN */ | ||||
| const isTransparent = (color) => { | ||||
|     return !alpha(color); | ||||
| }; | ||||
| /* EXPORT */ | ||||
| export default isTransparent; | ||||
		Reference in New Issue
	
	Block a user
	 nik
					nik