Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

recursivejsdeepcompare

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

recursivejsdeepcompare

NİBGAT® | Libraries - Deep Compare for JS

  • 1.0.4
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 20 Jun 2021

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc