Skip to content

Compares two CustomType objects for equality, accounting for bigints.

compareCustomTypes<T, U>(obj1, obj2, normalizeNumberTypes?): boolean

Defined in: packages/bitbadgesjs-sdk/src/common/base.ts:287

Compares two CustomType objects for equality, accounting for bigints.

Type Parameters

T

T extends CustomType<T>

U

U extends CustomType<U>

Parameters

obj1

CustomType<T> | null | undefined

obj2

CustomType<U> | null | undefined

normalizeNumberTypes?

boolean

Returns

boolean

Edit this page on GitHub