mirror of https://github.com/Chocobozzz/PeerTube
				
				
				
			
		
			
				
	
	
		
			13 lines
		
	
	
		
			287 B
		
	
	
	
		
			TypeScript
		
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			287 B
		
	
	
	
		
			TypeScript
		
	
	
| import { exists } from './misc.js'
 | |
| 
 | |
| function isVideoRedundancyTarget (value: any) {
 | |
|   return exists(value) &&
 | |
|     (value === 'my-videos' || value === 'remote-videos')
 | |
| }
 | |
| 
 | |
| // ---------------------------------------------------------------------------
 | |
| 
 | |
| export {
 | |
|   isVideoRedundancyTarget
 | |
| }
 |