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

6 lines
115 B
TypeScript

function isRatingValid (value: any) {
return value === 'like' || value === 'dislike'
}
export { isRatingValid }