Skip to content

deepEqual

Compares two values to determine if they are deeply equal.

Import:

import { deepEqual } from 'obsidian-dev-utils/object-utils';

Signature:

function deepEqual(a: unknown, b: unknown): boolean

Parameters:

ParameterTypeDescription
aunknownThe first value to compare.
bunknownThe second value to compare.

Returns: booleantrue if the values are deeply equal, otherwise false.