function shouldQueryVideo(videoData) {
  const { subs } = videoData;

  return !subs || subs.ext !== SUB_FORMAT || subs.error;
}
/**
 * Decides if video should be queried.
 * @param  {Object} videoData Object describing video.
 * @return {Boolean}          True if video should be queried, false otherwise.
 */
Decides if video should be queried.
@param  {Object} videoData Object describing video.
@return {Boolean}          True if video should be queried, false otherwise.
Decides if video should be queried . @param { Object } videoData Object describing video . @return { Boolean } True if video should be queried false otherwise .
function shouldQueryVideo(videoData) {
  const { subs } = videoData;
  return !subs || subs.ext !== SUB_FORMAT || subs.error;
}
function shouldQueryVideo ( videoData ) { const { subs } = videoData ; return ! subs || subs . ext !== SUB_FORMAT || subs . error ; }
Decides if video should be queried.
Decides if video should be queried .