<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tee-talog</author_name>
  <author_url>https://blog.hatena.ne.jp/tee-talog/</author_url>
  <blog_title>ひびのログ</blog_title>
  <blog_url>https://www.tee-talog.com/</blog_url>
  <categories>
    <anon>TypeScript</anon>
  </categories>
  <description>結論 type Head&lt;T&gt; = T extends [infer U, ...infer _] ? U : never type Tail&lt;T&gt; = T extends [infer _, ...infer U] ? U : never type NecessaryAndSufficientLoop&lt;Union, Arr extends any[]&gt; = Arr extends [] ? [Union] extends [never] ? [] : never : [ Head&lt;Arr&gt; extends Union ? Head&lt;Arr&gt; : never, ...NecessaryAndS…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.tee-talog.com%2Fentry%2F2024%2F03%2F20%2F195758&quot; title=&quot;Union Types を過不足なく満たす配列かどうかチェックする関数 - ひびのログ&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>2024-03-20 19:57:58</published>
  <title>Union Types を過不足なく満たす配列かどうかチェックする関数</title>
  <type>rich</type>
  <url>https://www.tee-talog.com/entry/2024/03/20/195758</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
