[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/js/dist/ -> is-shallow-equal.js (summary)

(no description)

File Size: 152 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 functions

  isShallowEqualObjects()
  isShallowEqualArrays()
  isShallowEqual()

Functions
Functions that are not part of a class:

isShallowEqualObjects(a, b)   X-Ref
Returns true if the two objects are shallow equal, or false otherwise.

param: {import('.').ComparableObject} a First object to compare.
param: {import('.').ComparableObject} b Second object to compare.
return: {boolean} Whether the two objects are shallow equal.

isShallowEqualArrays(a, b)   X-Ref
Returns true if the two arrays are shallow equal, or false otherwise.

param: {any[]} a First array to compare.
param: {any[]} b Second array to compare.
return: {boolean} Whether the two arrays are shallow equal.

isShallowEqual(a, b)   X-Ref
Returns true if the two arrays or objects are shallow equal, or false
otherwise.

param: {any[]|ComparableObject} a First object or array to compare.
param: {any[]|ComparableObject} b Second object or array to compare.
return: {boolean} Whether the two values are shallow equal.



Generated: Sun Dec 22 01:00:02 2024 Cross-referenced by PHPXref 0.7.1