checkElements = (elements, check) => {
  if (passStyleOf(elements) !== 'copyArray') {
    return check(
      false,
      X`The keys of a copySet or copyMap must be a copyArray: ${elements}`,
    );
  }
  if (!isRankSorted(elements, compareAntiRank)) {
    return check(
      false,
      X`The keys of a copySet or copyMap must be sorted in reverse rank order: ${elements}`,
    );
  }
  return checkNoDuplicates(elements, undefined, check);
}
@param {Passable[]} elements
@param {Checker} check
@returns {boolean}