assertNoDuplicates = (elements, fullCompare = undefined) => {
  checkNoDuplicates(elements, fullCompare, assertChecker);
}
@template {Passable} T
@param {T[]} elements
@param {FullCompare} [fullCompare]
@returns {void}