<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tukihatu</author_name>
  <author_url>https://blog.hatena.ne.jp/tukihatu/</author_url>
  <blog_title>tukihatuの技術日記</blog_title>
  <blog_url>https://tukihatu.hatenablog.com/</blog_url>
  <categories>
    <anon>技術</anon>
  </categories>
  <description>タイトル長い。 JSONなどで、階層が深いオブジェクトを使う時があると思います。そういうときに便利な関数。 ■先にコード まあコード見つけたので丸パクリというかほぼ転載です。 コード元：https://blog.mach3.jp/2016/12/05/ac2016-05.html こちらをjqueryなしバージョンにしておきました。 var flg = ischeck_dig(&quot;obj.hoge1.hoge2.hoge3&quot;); function ischeck_dig(path){ var a,b; a = window; path = path.split(&quot;.&quot;); for(b in pa…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftukihatu.hatenablog.com%2Fentry%2F20180612%2F1528799173&quot; title=&quot;Javascriptで階層が深いオブジェクト変数をリファレンスエラーにならずに存在チェックする方法 - tukihatuの技術日記&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>2018-06-12 19:26:13</published>
  <title>Javascriptで階層が深いオブジェクト変数をリファレンスエラーにならずに存在チェックする方法</title>
  <type>rich</type>
  <url>https://tukihatu.hatenablog.com/entry/20180612/1528799173</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
