<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>motomichi_works</author_name>
  <author_url>https://blog.hatena.ne.jp/motomichi_works/</author_url>
  <blog_title>Motomichi Works Blog</blog_title>
  <blog_url>https://motomichi-works.hatenablog.com/</blog_url>
  <categories>
    <anon>制作</anon>
    <anon>typescript</anon>
  </categories>
  <description>はじめに 配列の要素の順番は関係なく、2つの配列のlengthが等しいかどうか、2つの配列が同じ要素を持っているかを判定します。 関数の定義と実行 以下の通り定義します。 const isSameArr = (arr1: number[], arr2: number[]) =&gt; { if (arr1.length !== arr2.length) return false; const arr2Clone = [...arr2]; for (let i = 0; i &lt; arr1.length; i++) { const matchedIndex = arr2Clone.indexOf(arr…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmotomichi-works.hatenablog.com%2Fentry%2F2022%2F04%2F08%2F132704&quot; title=&quot;2つの配列が持っている要素が等しいかどうかを判定する TypeScript - Motomichi Works Blog&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-04-08 13:27:04</published>
  <title>2つの配列が持っている要素が等しいかどうかを判定する TypeScript</title>
  <type>rich</type>
  <url>https://motomichi-works.hatenablog.com/entry/2022/04/08/132704</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
