function compileTrust(rangeSubnets) {
  // Return optimized function based on length
  const len = rangeSubnets.length;
  return len === 0
    ? trustNone
    : len === 1
    ? trustSingle(rangeSubnets[0])
    : trustMulti(rangeSubnets);
}
/**
 * Compile range subnet array into trust function.
 *
 * @param {Array} rangeSubnets
 * @private
 */
Compile range subnet array into trust function.
@param {Array} rangeSubnets
@private
Compile range subnet array into trust function . @param { Array } rangeSubnets @private
function compileTrust(rangeSubnets) {
  const len = rangeSubnets.length;
  return len === 0
    ? trustNone
    : len === 1
    ? trustSingle(rangeSubnets[0])
    : trustMulti(rangeSubnets);
}
function compileTrust ( rangeSubnets ) { const len = rangeSubnets . length ; return len === 0 ? trustNone : len === 1 ? trustSingle ( rangeSubnets [ 0 ] ) : trustMulti ( rangeSubnets ) ; }
Compile range subnet array into trust function.
Compile range subnet array into trust function .
// Return optimized function based on length