Files
SolTube/server/core/helpers/custom-validators/video-redundancies.ts
ShreejitPanchal 6601501eff Init commit
2026-05-19 19:56:02 +08:00

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
}