12 lines
285 B
TypeScript
12 lines
285 B
TypeScript
import { exists } from './misc'
|
|
|
|
function isValidCreateTranscodingType (value: any) {
|
|
return exists(value) &&
|
|
(value === 'hls' || value === 'webtorrent')
|
|
}
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
export {
|
|
isValidCreateTranscodingType
|
|
}
|