function throwInvalidStringHash(hash, functionName) {
  if (typeof hash !== "string") {
    throw new TypeError(`${functionName}(): first argument is not a string.`);
  }
}
/**
 * Throw an error if a given hash is not a string
 *
 * @private
 * @param {string} hash The possible empty hash value
 * @param {string} functionName A function name to enhance the error message
 */
Throw an error if a given hash is not a string
@private
@param {string} hash The possible empty hash value
@param {string} functionName A function name to enhance the error message
Throw an error if a given hash is not a string @private @param { string } hash The possible empty hash value @param { string } functionName A function name to enhance the error message
function throwInvalidStringHash(hash, functionName) {
  if (typeof hash !== "string") {
    throw new TypeError(`${functionName}(): first argument is not a string.`);
  }
}
function throwInvalidStringHash ( hash , functionName ) { if ( typeof hash !== "string" ) { throw new TypeError ( ` ${ functionName } ` ) ; } }
Throw an error if a given hash is not a string
 @private
 @param {string} hash The possible empty hash value
 @param {string} functionName A function name to enhance the error message
Throw an error if a given hash is not a string @private @param { string } hash The possible empty hash value @param { string } functionName A function name to enhance the error message