jstests/index_filter_commands.js
// planCacheListPlans returns non-empty array of plans.
planCacheListPlans returns non-empty array of plans.
planCacheListPlans returns non - empty array of plans .
function planCacheContains(shape) {
    var res = t.runCommand('planCacheListPlans', shape);
    assert.commandWorked(res);
    return res.plans.length > 0;
}
function planCacheContains ( shape ) { var res = t . runCommand ( 'planCacheListPlans' , shape ) ; assert . commandWorked ( res ) ; return res . plans . length > 0 ; }
planCacheListPlans returns non-empty array of plans.
planCacheListPlans returns non - empty array of plans .