nl_tokens: Test if the triple ( attribute operator value ) is already refined . If only the attribute and the operator are provided it tests if the contains any refinement value .
pl_tokens: function isNumericRefined ( <mask> , operator , value ) { if ( isUndefined ( value ) && isUndefined ( operator ) ) { return ! ! this . numericRefinements [ attribute ] ; } var isOperatorDefined = this . numericRefinements [ attribute ] && ! isUndefined ( this . numericRefinements [ attribute ] [ operator ] ) ; if ( isUndefined ( value ) || ! isOperatorDefined ) { return isOperatorDefined ; } var parsedValue = valToNumber ( value ) ; var isAttributeValueDefined = ! isUndefined ( findArray ( this . numericRefinements [ attribute ] [ operator ] , parsedValue ) ) ; return isOperatorDefined && isAttributeValueDefined ; }