assertRecord = (record, optNameOfRecord = 'Alleged record') => {
  const passStyle = passStyleOf(record);
  passStyle === 'copyRecord' ||
    Fail`${q(optNameOfRecord)} ${record} must be a pass-by-copy record, not ${q(
      passStyle,
    )}`;
}
@callback AssertRecord
@param {any} record
@param {string=} optNameOfRecord
@returns {asserts record is CopyRecord<any>}