src/SearchParameters/index.js
function isDisjunctiveFacetRefined(facet, value) {
    if (!this.isDisjunctiveFacet(facet)) {
      throw new Error(
        facet + ' is not defined in the disjunctiveFacets attribute of the helper configuration');
    }
    return RefinementList.isRefined(this.disjunctiveFacetsRefinements, facet, value);
  }
function isDisjunctiveFacetRefined(facet, value) {
    if (!this.isDisjunctiveFacet(facet)) {
      throw new Error(
        facet + ' is not defined in the disjunctiveFacets attribute of the helper configuration');
    }
    return RefinementList.isRefined(this.disjunctiveFacetsRefinements, facet, value);
  }
function isDisjunctiveFacetRefined ( facet , value ) { if ( ! this . isDisjunctiveFacet ( facet ) ) { throw new Error ( facet + ' is not defined in the disjunctiveFacets attribute of the helper configuration' ) ; } return RefinementList . isRefined ( this . disjunctiveFacetsRefinements , facet , value ) ; }
Returns true if the facet contains a refinement, or if a value passed is a
refinement for the facet.
@method
@param {string} facet name of the attribute for used for faceting
@param {string} value optional, will test if the value is used for refinement
if there is one, otherwise will test if the facet contains any refinement
@return {boolean}
Returns true if the facet contains a refinement or if a value passed is a refinement for the facet .