lib/complexTypes/FilterType.js
function checkFilterType(key, value)
{
  if(typeof value != 'string')
    throw SyntaxError(key+' param should be a String, not '+typeof value);

  if(!value.match('AUDIO|AUTODETECT|VIDEO'))
    throw SyntaxError(key+' param is not one of [AUDIO|AUTODETECT|VIDEO] ('+value+')');
}
function checkFilterType(key, value)
{
  if(typeof value != 'string')
    throw SyntaxError(key+' param should be a String, not '+typeof value);

  if(!value.match('AUDIO|AUTODETECT|VIDEO'))
    throw SyntaxError(key+' param is not one of [AUDIO|AUTODETECT|VIDEO] ('+value+')');
}
function checkFilterType ( key , value ) { if ( typeof value != 'string' ) throw SyntaxError ( key + ' param should be a String, not ' + typeof value ) ; if ( ! value . match ( 'AUDIO|AUTODETECT|VIDEO' ) ) throw SyntaxError ( key + ' param is not one of [AUDIO|AUTODETECT|VIDEO] (' + value + ')' ) ; }
Type of filter to be created.
Can take the values AUDIO, VIDEO or AUTODETECT.

@typedef core/complexTypes.FilterType

@type {(AUDIO|AUTODETECT|VIDEO)}
 
Checker for {@link module:core/complexTypes.FilterType}

@memberof module:core/complexTypes

@param {external:String} key
@param {module:core/complexTypes.FilterType} value
Type of filter to be created . Can take the values AUDIO VIDEO or AUTODETECT .