function isAppMediaMatch(params, tokens, allAppTypes, appType) {
    let expression = convertMediaQueryToJSExpression(tokens, allAppTypes, appType);
    try {
        return {
            /* eslint-disable fecs-no-eval */
            value: eval(expression),
            expression
        };
    }
    catch (ex) {
        throw new Error('illegal style env media rule:' + params);
    }
}
function isAppMediaMatch(params, tokens, allAppTypes, appType) {
    let expression = convertMediaQueryToJSExpression(tokens, allAppTypes, appType);
    try {
        return {
            
            value: eval(expression),
            expression
        };
    }
    catch (ex) {
        throw new Error('illegal style env media rule:' + params);
    }
}
function isAppMediaMatch ( params , tokens , allAppTypes , appType ) { let expression = convertMediaQueryToJSExpression ( tokens , allAppTypes , appType ) ; try { return { /* eslint-disable fecs-no-eval */ value : eval ( expression ) , expression } ; } catch ( ex ) { throw new Error ( 'illegal style env media rule:' + params ) ; } }
Determine the given media app query params is match with the current
build media target.

@inner
@param {string} params the full media query params
@param {Array.<string>} tokens the env media query param tokens
@param {Array.<string>} allAppTypes all supported build media target
@param {string} appType the current build media target
@return {{value: boolean, expression: string}}
Determine the given media app query params is match with the current build media target .