<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yunagi_n</author_name>
  <author_url>https://blog.hatena.ne.jp/yunagi_n/</author_url>
  <blog_title>なつねこメモ</blog_title>
  <blog_url>https://tech.natsuneko.blog/</blog_url>
  <categories>
    <anon>JavaScript</anon>
    <anon>TypeScript</anon>
  </categories>
  <description>クラスやらオブジェクトのメンバーがすべて undefined かどうか調べたいときは以下のコードで出来る。 const obj = { a: undefined, b: undefined, c: undefined, }; const obj1 = { ...obj }; const obj2 = { ...obj, d: null }; const checkAllMembersAreUndefined = (o: any) =&gt; Object.values(o).every(w =&gt; w === undefined); console.log(checkAllMembersAreUnde…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.natsuneko.blog%2Fentry%2F2022%2F03%2F25%2Fcheck-all-members-are-undefined-in-javascript&quot; title=&quot;JavaScript でメンバーがすべて undefined かどうかを調べたい - なつねこメモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-03-24 15:00:00</published>
  <title>JavaScript でメンバーがすべて undefined かどうかを調べたい</title>
  <type>rich</type>
  <url>https://tech.natsuneko.blog/entry/2022/03/25/check-all-members-are-undefined-in-javascript</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
