function isObjectOrArrayOfUnknownValues(val) {
  return typeof val === 'object' && val !== null;
}
Type predicate verifying `val` is an object or an array.
@param {unknown} val
@return {val is Record<string, unknown>|Array<unknown>}