function isMultiEntryMatch(encodedEntry, encodedKey) {
    var keyType = collations[encodedKey.substring(0, 1)];

    if (keyType === 'array') {
        return encodedKey.indexOf(encodedEntry) > 1;
    } else {
        return encodedKey === encodedEntry;
    }
}
/**
 * Determines whether an index entry matches a multi-entry key value.
 * @param {string} encodedEntry     The entry value (already encoded)
 * @param {string} encodedKey       The full index key (already encoded)
 * @returns {boolean}
 */
Determines whether an index entry matches a multi-entry key value.
@param {string} encodedEntry     The entry value (already encoded)
@param {string} encodedKey       The full index key (already encoded)
@returns {boolean}
Determines whether an index entry matches a multi - entry key value . @param { string } encodedEntry The entry value ( already encoded ) @param { string } encodedKey The full index key ( already encoded ) @returns { boolean }
function isMultiEntryMatch(encodedEntry, encodedKey) {
    var keyType = collations[encodedKey.substring(0, 1)];
    if (keyType === 'array') {
        return encodedKey.indexOf(encodedEntry) > 1;
    } else {
        return encodedKey === encodedEntry;
    }
}
function isMultiEntryMatch ( encodedEntry , encodedKey ) { var keyType = collations [ encodedKey . substring ( 0 , 1 ) ] ; if ( keyType === 'array' ) { return encodedKey . indexOf ( encodedEntry ) > 1 ; } else { return encodedKey === encodedEntry ; } }
Determines whether an index entry matches a multi-entry key value.
Determines whether an index entry matches a multi - entry key value .