assertWellFormedString = str => {
  isWellFormedString(str) || Fail`Expected well-formed unicode string: ${str}`;
}
Returns normally when `isWellFormedString(str)` would return true.
Throws a diagnostic error when `isWellFormedString(str)` would return false.

@param {unknown} str
@returns {asserts str is string}