1
0
Fork 0
peertube/server/helpers/custom-validators/video-redundancies.ts

13 lines
284 B
TypeScript
Raw Normal View History

2020-01-10 04:11:28 -05:00
import { exists } from './misc'
function isVideoRedundancyTarget (value: any) {
return exists(value) &&
(value === 'my-videos' || value === 'remote-videos')
}
// ---------------------------------------------------------------------------
export {
isVideoRedundancyTarget
}