Socket
Socket
Sign inDemoInstall

recursivejsdeepcompare

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    recursivejsdeepcompare

NİBGAT® | Libraries - Deep Compare for JS


Version published
Maintainers
1
Created

Readme

Source

JS Deep Compare

string || number || array || object

Yukarıda belirtilen tipler için derin kıyaslama yapan bir fonksiyondur.

Example:

import recursiveJSDeepCompare from 'recursiveJSDeepCompare';

const var1 = [
    {
        "a": 0,
        "b": [
            {
                "c": "d"
            }
        ]
    }
];

const var2 = [
    {
        "a": 0,
        "b": [
            {
                "c": "e"
            }
        ]
    }
];

console.log(recursiveJSDeepCompare(var1, var2)); // Sonuç: false

False gelme sebebi var1["b"][0]["c"] ile var2["b"][0]["c"] eşleşmedi. 2 veriyi recursive olarak derinlemesine gezen ve 1-1 kıyaslama yapan fonksiyon.

Keywords

FAQs

Last updated on 20 Jun 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc